On Sat, 19 Nov 2011 01:46:09 +0000, Clint M Priest wrote: > What would everyone think about multiple levels of visibility for > getters/setters? > > class Sample { > > public $Variable { > public get { return "Public"; } protected get { return > "Protected"; } > private get { return "Private"; } > > public set { ... } > private set { ... } > } > } >
No. Don't. Ever. Mike -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php