On 24.11.2007 00:58, Edward Z. Yang wrote: > 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.
Both are correct, of course. Error messages of different level may appear during compilation AND execution. -- Wbr, Antony Dovgal