This is true for PHP 5.3+ Regards, Saša Stamenković
On Sat, May 1, 2010 at 7:01 PM, Aurimas Likas <auri...@wow.lt> wrote: > In the online documentation there are > written<http://framework.zend.com/manual/en/zend.controller.front.html>: > > > Overriding the getInstance() method ensures that subsequent calls to >> Zend_Controller_Front::getInstance() will return an instance of your new >> subclass instead of a Zend_Controller_Front instance >> > > But this is not true or I misunderstand here something? After extending > Zend_Controller_Front I tried to: > $instance = Zend_Controller_Front::getInstance(); > echo get_class($instance); // ouputs Zend_Controller_Front > >