Req #4362 [Bgs->Opn]: http://pear.php.net/manual/en/standards.sample.php

From: Date: Tue, 17 May 2005 17:19:05 +0000
Subject: Req #4362 [Bgs->Opn]: http://pear.php.net/manual/en/standards.sample.php
References: 1  Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-6017@lists.php.net to get a copy of this message
Edit report at http://pear.php.net/bugs/bug.php?id=4362&edit=1 ID: 4362 User updated by: pear dot php dot net dot tld at coderoom dot nl Reported By: pear dot php dot net dot tld at coderoom dot nl -Status: Bogus +Status: Open Type: Feature/Change Request Package: Documentation Operating System: any PHP Version: Irrelevant Assigned To: danielc New Comment: Well, perhaps the documentation is syntactically correct but the naming convention is imho wrong. The naming convention for global variables in http://pear.php.net/manual/en/standards.sample.php contradicts http://bugs.pear.php.net/manual/en/standards.naming.php Well, I know it's just a very minor detail, but by using packages it is really annoying if you can not garantuee which global/constant/function/class space is used, since not all packages follow http://bugs.pear.php.net/manual/en/standards.naming.php or am I plain wrong and is there a hidden naming convention rule for global variables? Previous Comments: ------------------------------------------------------------------------ [2005-05-17 09:22:40] danielc at analysisandsolutions dot com The documentation is correct. ------------------------------------------------------------------------ [2005-05-16 20:49:05] pear dot php dot net dot tld at coderoom dot nl Description: ------------ To understand PEAR's coding standards, especially by learning from examples, I was wondering if the naming convention of global variables in this example is intentionally made wrong? http://pear.php.net/manual/en/standards.sample.php Expected result: ---------------- $GLOBALS['_NET_SAMPLE_Count'] = 0; Actual result: -------------- $GLOBALS['NET_SAMPLE_Count'] = 0; ------------------------------------------------------------------------ -- Edit this bug report at http://pear.php.net/bugs/bug.php?id=4362&edit=1

« previous php.pear.doc (#6017) next »