E_STRICT: runtime or not?
| From: | Edward Z. Yang | Date: | Fri, 23 Nov 2007 21:58:07 +0000 |
| Subject: | E_STRICT: runtime or not? | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969378365@lists.php.net to get a copy of this message | ||
The doc page <http://docs.php.net/manual/en/ref.errorfunc.php>
states
that E_STRICT consists of "run-time notices", however
error_reporting()'s <http://docs.php.net/error_reporting> doc page
claims that "Most of E_STRICT errors are evaluated at compile time."
Which is correct? From personal experience, the former is correct on
later versions of PHP 5, when using "var" is not considered a E_STRICT
error.
--
Edward Z. Yang GnuPG: 0x869C48DA
HTML Purifier <http://htmlpurifier.org> Anti-XSS Filter
[[ 3FA8 E9A9 7385 B691 A6FC B3CB A933 BE7D 869C 48DA ]]