Hi!

     public function __construct()
     {
         $this->a = new A();
         $this->a();

Here you are calling method a() of object $this. Such method does not exist. No bug here. Methods are properties are different things.
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to