Re: Re: [CFV] how to mark protected items?

From: Date: Wed, 16 Jun 2004 14:45:35 +0000
Subject: Re: Re: [CFV] how to mark protected items?
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-30776@lists.php.net to get a copy of this message
Hans: On Wed, Jun 16, 2004 at 10:36:19AM -0400, Hans Lellelid wrote: > > Some people are gonna want '_' because they're used to looking at PHP4 > code. '_' is a hack because PHP4 didn't support 'private'. Why that > should be required for PHP5 code that does support 'private' makes no > sense. The reason we need this for two reasons. Packages are presently written in PHP 4 that will be ported to PHP 5 eventually. We don't want people to mistakenly access those members in the wrong way and then get bitten by that mistake when the package does go to PHP 5. --Dan -- T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y data intensive web and database programming http://www.AnalysisAndSolutions.com/ 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409

« previous php.pear.dev (#30776) next »