Re: private, protected, readonly, public

From: Date: Tue, 16 May 2006 14:27:20 +0000
Subject: Re: private, protected, readonly, public
References: 1 2 3 4 5 6 7 8  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Sebastian Bergmann wrote:
Stefan Walk wrote:
I'm against visible private variables. If they are visible, they are part of the interface of the class, which means changing the implementation means a BC break.
This is a valid point against readonly, indeed.
no, it is a valid point against implicit visibility, not against *declaring* a property as readonly -- Hartmut Holzgraefe, Senior Support Engineer . MySQL AB, www.mysql.com Are you certified? http://www.mysql.com/training/certification

Thread (92 messages)

« previous php.internals (#23458) next »