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 ?

-- Marco Kaiser

Reply via email to