Re: E_STRICT: runtime or not?

From: Date: Fri, 23 Nov 2007 22:16:12 +0000
Subject: Re: E_STRICT: runtime or not?
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969378366@lists.php.net to get a copy of this message
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

« previous php.doc (#969378366) next »