Re: On constructors: BC Break and Class compiler Improvements

From: Date: Fri, 02 Apr 2010 21:04:30 +0000
Subject: Re: On constructors: BC Break and Class compiler Improvements
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-47748@lists.php.net to get a copy of this message
Hi!
class Filter { public function __construct() { /* construct stuff */ } public function filter($value) { /* return filtered */ } } Produces: PHP Strict Standards: Redefining already defined constructor for class Zend\Filter\Filter in [snip file] on line [snip line]
I just checked - this code produces the same warning in 5.2 (without the namespace of course), and in 5.3.0. So I don't see what changed in 5.3.1 exactly? -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com

« previous php.internals (#47748) next »