Re: [PHP] Understanding Static Methods

2004-11-19 Thread Curt Zirzow
* Thus wrote Jordi Canals: > On Fri, 19 Nov 2004 03:16:14 +0100, Sylvain Girard <[EMAIL PROTECTED]> wrote: > > > > I'm taking a wild guess here, but doesn't that got anything to do with the > > public declaration of the method? > > > > If I declare the method without the public declaration it ba

Re: [PHP] Understanding Static Methods

2004-11-19 Thread Jordi Canals
On Fri, 19 Nov 2004 03:16:14 +0100, Sylvain Girard <[EMAIL PROTECTED]> wrote: > > I'm taking a wild guess here, but doesn't that got anything to do with the > public declaration of the method? > If I declare the method without the public declaration it bahaves the same ... static function TestS

RE: [PHP] Understanding Static Methods

2004-11-18 Thread Sylvain Girard
I'm taking a wild guess here, but doesn't that got anything to do with the public declaration of the method? -Oorspronkelijk bericht- Van: Jordi Canals [mailto:[EMAIL PROTECTED] Verzonden: vrijdag 19 november 2004 2:29 Aan: PHP List Onderwerp: [PHP] Understanding Static Metho

[PHP] Understanding Static Methods

2004-11-18 Thread Jordi Canals
Hi all, I'm trying to understand static methods in a test class. Reading the manual, it says: "A member or method declared with static can not be accessed with a variable that is an instance of the object and cannot be re-defined in an extending class." Test code: str = 'Hello world';