About Coding Standard and Private class Property (on PHP5)
| From: | Laurent Laville | Date: | Tue, 26 May 2009 22:42:19 +0000 |
| Subject: | About Coding Standard and Private class Property (on PHP5) | ||
| Groups: | php.pear.qa | ||
| Request: | Send a blank email to pear-qa+get-5337@lists.php.net to get a copy of this message | ||
Hi PEAR QA team,
As I've a big doubt about underscore prefix or not for private class property , I prefer to ask !
There is an answer for Protected [1], but what is status for private
On PHP5, should I wrote ?
class Foo
{
private static $instances;
}
or
class Foo
{
private static $_instances;
}
Thanks in advance
[1] http://pear.php.net/manual/en/rfc.protected-members.php