Re: CS changes for PHP5? was Re: [PEAR-CVS] cvs: pear(ZEND_ENGINE_2) /XML_Transformer
| From: | Wolfram Kriesing | Date: | Sun, 19 Jan 2003 04:03:08 +0000 |
| Subject: | Re: CS changes for PHP5? was Re: [PEAR-CVS] cvs: pear(ZEND_ENGINE_2) /XML_Transformer | ||
| References: | 1 2 | Groups: | php.pear.cvs php.pear.dev |
| Request: | Send a blank email to pear-dev+get-12593@lists.php.net to get a copy of this message | ||
please leave the private members with underscore
as Alan says it enhances readablity!
Alan Knowles wrote:
-- Wolfram ... translating template system ... http://sourceforge.net/projects/simpletpl now also as PEAR-package available ... authentication system .... http://sf.net/projects/auth ... and more at .... http://opensource.visionp.deInteresting dropping the $_ prefix on privates.. - while it is a little throwback to PHP4 not having real privates, it did have heratige in the hungerian (or whatever it's called) naming strategy.. - and does enhance program readiblity... Is the plan to drop this bit of the code standards for PHP5? (I for one would miss it :) Regards Alan- var $_caseFoldingTo = CASE_UPPER; + private $caseFoldingTo = CASE_UPPER;