E_STRICT on inheritance + method parameter defaults?

From: Date: Wed, 21 Sep 2005 14:54:31 +0000
Subject: E_STRICT on inheritance + method parameter defaults?
Groups: php.internals 
Request: Send a blank email to internals+get-19110@lists.php.net to get a copy of this message
Hello all, This crept up as the result of a bug report (not mine -- http://bugs.php.net/34494), and a small discussion on IRC: Why does an E_STRICT get raised when extending a class, and altering the method's proto defaults? I understand why it would be thrown when adding/changing parameters, but why when simply changing $foo to $foo=1 ? Honest question -- I'm not trying to change the behavior, here. It doesn't seem "correct" to me, but I look forward to an explanation that I've simply overlooked. S

« previous php.internals (#19110) next »