-- Marco Kaiser <[EMAIL PROTECTED]> wrote (on Thursday, 27 March 2008, 02:14 PM +0100): > Hi, > > with the upcomming next release of php one bug "feature" will change. > > http://news.php.net/php.internals/36606 > > any own extended version of a single pattern class that is based on the same > mechanism like the Zend_Controller_Front > > class My_Controller_Front extends Zend_Controller_Front > { > public static function getInstance() > { > if (null === self::$_instance) { > self::$_instance = new self(); > } > > return self::$_instance; > } > } > > And the Zend_Controller_Front __construct is private will raise with 5.2.6 a > fatal error. This mease the contructor should be protected to keep it > working with 5.2.6. > Can anyone confirm this ?
Actually, the constructor was made protected for the 1.5.1. release ;-) -- Matthew Weier O'Phinney PHP Developer | [EMAIL PROTECTED] Zend - The PHP Company | http://www.zend.com/
