Re: Bug in 5.3 __invoke() magic method?

From: Date: Wed, 29 Sep 2010 20:56:15 +0000
Subject: Re: Bug in 5.3 __invoke() magic method?
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-49802@lists.php.net to get a copy of this message
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

« previous php.internals (#49802) next »