Re: T_PAAMAYIM_NEKUDOTAYIM

From: Date: Mon, 16 Dec 2002 23:17:47 +0000
Subject: Re: T_PAAMAYIM_NEKUDOTAYIM
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-92543@lists.php.net to get a copy of this message
On Mon, 16 Dec 2002 23:56:03 +0100 Bertrand Mansion <bmansion@mamasam.com> wrote: > will return 'Undefined variable: this'... The syntax foo::bar() should be used for every method callable directly (ex: a factory), without an instance of the parent object. The "$this" variable represents the object who owns the current method. If this method has been called directly, there is no object itself, neither properties. hth pierre

« previous php.dev (#92543) next »