Re: T_PAAMAYIM_NEKUDOTAYIM

From: Date: Mon, 16 Dec 2002 23:18:51 +0000
Subject: Re: T_PAAMAYIM_NEKUDOTAYIM
References: 1 2 3  Groups: php.dev 
Request: Send a blank email to php-dev+get-92544@lists.php.net to get a copy of this message
On Tue, 17 Dec 2002 00:17:47 +0100 Pierre-Alain Joye <paj@pearfr.org> wrote: > 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. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ without an instance of the object itself.

« previous php.dev (#92544) next »