Is there a way to ignore E_STRICT for PHP5? |
Site Admin
|
In 5.0.0rc2 E_ALL is defined as
Do you see E_STRICT there ? I don't either. So it's clear that in 5.0.0rc2 E_STRICT can't be disabled at all. Please post a question at news.php.net news group php.internals. |
||||||||||||
|
|
Agrred, I don't see it in E_ALL, as is mentioned in the ./zend/changelog.
But... value of error_reporting in zend.c still gets set. According to http://www.php.net/manual/en/function.error-reporting.php E_ALL is 2047 and E_STRICT is 2048. I don't know how DBG works, but I assume it registers an error handler, then whatever matches the error_level gets sent. Could it be there is code in DBG's handler that says:
Or does DBG rely on some other setting, function, variable than what gets set in PHP's error_reporting(); Anyway.. why would PhpEd display any errors if Error Level is set to 0? |
||||||||||||||
|
Site Admin
|
should work fine in phped build 3359 & dbg 2.16.9
|
||||||||||||
|
Is there a way to ignore E_STRICT for PHP5? |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by