php4 style constructor

From: Date: Sat, 11 Mar 2006 19:16:09 +0000
Subject: php4 style constructor
Groups: php.internals 
Request: Send a blank email to internals+get-22340@lists.php.net to get a copy of this message
Hi, I am wondering why does defining a php5 style and php4 style constructor in a class result in an E_STRICT warning, where as only defining a php4 style constructor does not? class foo {
    function __construct() {}
    function foo() {}
} class foo2 {
    function foo2() {}
} I could see it make sense the other way around, or issuing an E_STRICT for both .. regards, Lukas

« previous php.internals (#22340) next »