php4 style constructor
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
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
|