[php-maint] PHP Strict Standards warnings activated by default?

Thomas Goirand zigo at debian.org
Sun Mar 25 16:18:12 UTC 2012


Hi,

After thinking about it for a long time, I am wondering: are the "PHP
Strict Standards warnings" activated by default in PHP 5.4 in SID, or is
it only something done by some unit tests?

If the former, I think we should fix that, if the later, then everything
is fine. I had a look into the php.ini for php-cli, and I'm really
unsure of what's being actually set. My understanding is that we have:

error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT

which means that we have all warnings but deprecation and strict. Is
that correct?

Now, if I find some E_STRICT or E_DEPRECATED in some PEAR packages, what
should we do about them? Are they good candidates for having Debian
specific patches (if upstream isn't fixing, like for XML_Parser, which
annoys me...)?

Thomas



More information about the pkg-php-maint mailing list