peachpie icon indicating copy to clipboard operation
peachpie copied to clipboard

Ignore/hide Notices in logs using error_reporting()

Open kripper opened this issue 1 year ago • 2 comments

Is there any option to ignore/hide the Notices (showing in VSCode debug window)? This code should work:

error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED ^ E_STRICT);

kripper avatar Nov 08 '22 06:11 kripper