Re: private, protected, readonly, public

From: Date: Wed, 17 May 2006 07:33:38 +0000
Subject: Re: private, protected, readonly, public
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Ron Korving wrote:
I'm a big fan of this keyword. No "pppp", and this is in fact clearer and better than the readonly keyword I advocated. Great idea :)
Just a quick question because I wasn't able to test any implementation yet: Does the new keyword conflict with functions/methods/properties of the same name? I.e. would class A { function readonly() { return false; } } still work? Otherwise we would have a *big* BC break issue. - Chris

Thread (92 messages)

« previous php.internals (#23512) next »