On Wed, Sep 29, 2010 at 2:56 PM, Stas Malyshev wrote:
> 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 differen
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://ww
Hi,
Started using 5.3 and stumbled into what appears to be a bug with the
__invoke() magic method. It works fine if used in an object for a class
defining __invoke() is stored in a local variable, however when storing said
object as an instance variable, a fatal is raised. See my example below.