On Sat, Jan 17, 2015 at 11:33 AM, Todd Ruth <
[email protected]> wrote:
On Sat, 2015-01-17 at 10:56 -0700, Levi Morrison wrote:
<<snip>>
According to the PHP.net documentation on
E_STRICT(http://php.net/manual/en/migrating5.errorrep.php):
When enabled, messages will be issued to warn you about code usage which is deprecated or which may not be future-proof.
By very definition E_STRICT warns about this kind of thing. They've
been there for *more than ten years*.
But only when you use both PHP 4 and PHP 5 constructors at the same time. If a class uses ONLY the PHP 4 constructor then no message is generated at all.