> From: Derick Rethans [mailto:[EMAIL PROTECTED] > On Fri, 19 Mar 2004, Sebastian Bergmann wrote: > > > Andi Gutmans wrote: > > > Only if you use E_STRICT. > > > > Am I missing something (bear with me, I am still on > medication :-) but > > the following code does not print a warning here: > > Because E_Strict is set at run time, and the warnings are thrown at > compile time :)
Hm, no. Change the name of 'test' to 'test2', so that this isn't anymore an construcor - then the E_STRICT message appears. Bug?
Nope. We don't do prototype checking for constructors as concrete constructor implementations maybe be different.
Andi
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php