note 13315 deleted from language.oop by vincent
| From: | vincent@php.net | Date: | Thu, 11 Sep 2003 19:54:35 +0000 |
| Subject: | note 13315 deleted from language.oop by vincent | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-56192@lists.php.net to get a copy of this message | ||
Note Submitter: maillist@metacosm.dhs.org
----
The _Note_ on this page is very misleading.. it says "In PHP 4, only constant initializers for
var variables are allowed. To initialize variables with non-constant values...", it appears
(unless someone can show me otherwise), that you can not even use var $something = CONSTANT, in a
class, and after a heated discussion on #php on openprojects.net, I thought I should post this so
others would just accept that _all_ var $stuff must be initialized in the constructor. The _Note_
would leave you to believe some do not, which I have found to be untrue.