Re: What is 'var'
| From: | Stanislav Malyshev | Date: | Wed, 05 Jul 2000 07:29:09 +0000 |
| Subject: | Re: What is 'var' | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-23533@lists.php.net to get a copy of this message | ||
j>> Well, I know it declares a variable in a class. But why is it
j>> necessary?
j>> Any variable declared in a class will be part of that class.
That's object initializers. Every object of the class will have these
variables, initialized to whatever values you give.
--
Stanislav Malyshev stas@zend.com
+972-3-6139665