[php-maint] error_reporting = ~E_STRICT has no effect

Thomas Goirand zigo at debian.org
Sun Apr 8 15:17:36 UTC 2012


I'm currently trying to fix issues in the PEAR packages that I maintain,
and make sure they are ok with PHP 5.4. And a lot of them, including
those working on XML, are throwing lots of E_STRICT errors. But the
issue is that I have  in /etc/php5/cli/php.ini:

error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT

so the "PHP Strict Standards" issues shouldn't be reported at all.
Removing ~E_STRICT, removing the ~ or anything of the sort doesn't do
anything, the errors are still showed, which potentially breaks the
output of some XML documents.

Is this a known issue? Should I open a bug report for that?



More information about the pkg-php-maint mailing list