Re: [CS] Naming Conventions (PHP5 OO)
| From: | Klaus Guenther | Date: | Wed, 16 Jun 2004 01:03:12 +0000 |
| Subject: | Re: [CS] Naming Conventions (PHP5 OO) | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-30703@lists.php.net to get a copy of this message | ||
Firman Wandayandi wrote:
Hi All! There was already naming coventions for protected class members and another PHP5 OOP stuffs? or I missed something about that? If not, IMO we must do something right now. __someMethod already use by built-in PHP5 class method e.g __construct(), __autoload(), __call() etc.Yes, we are aware of those namespace limitations. That's one of the reasons private and protected class members are prefixed with only a single underscore (_). One reason they are prefixed is to enable faster troubleshooting while reading the code. And imho that's sufficient reason that the CS shouldn't change. Klaus