note 43897 added to keyword.paamayim-nekudotayim
| From: | stefano at obliquid dot it | Date: | Wed, 07 Jul 2004 21:22:00 +0000 |
| Subject: | note 43897 added to keyword.paamayim-nekudotayim | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-72838@lists.php.net to get a copy of this message | ||
peter has a good point to suggest the use of static function variables instead of static class
variables that PHP 4 does not support.
Unfortunately, also the first sentence of the manual is misleading "... refer to functions and
variables in base classes or to refer to functions in classes that have not yet any instances. The
:: operator is being used for this.".
You cannot use the :: operator on class variables since there are no static class variables. I lost
some time trying to refer to class variable with this operator, so I think it may be useful to post
a warning.
http://dev.obliquid.com
----
Manual Page -- http://www.php.net/manual/en/keyword.paamayim-nekudotayim.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+43897
Delete -- http://master.php.net/manage/user-notes.php?action=delete+43897&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+43897&report=yes
Search -- http://master.php.net/manage/user-notes.php