Re: Req #4362 [Opn]: prefixing GLOBALS with _ (naming page vs sample page)
| From: | Martin Jansen | Date: | Wed, 18 May 2005 08:34:12 +0000 |
| Subject: | Re: Req #4362 [Opn]: prefixing GLOBALS with _ (naming page vs sample page) | ||
| References: | 1 2 | Groups: | php.pear.doc |
| Request: | Send a blank email to pear-doc+get-6026@lists.php.net to get a copy of this message | ||
On Tue May 17, 2005 at 07:3213PM -0000, danielc@analysisandsolutions.com wrote:
> On top of all that, I think the naming convention for globals should
> match the naming convention for constants, so should not be prefixed
> with _. _ in PEAR is meant to prefix private items. Global variables
> aren't necessarily private.
>
> Thoughts from others in the community will be appreciated.
I agree.
- Martin