Re: Private Properties
| From: | Sterling Hughes | Date: | Wed, 12 Jul 2000 00:46:25 +0000 |
| Subject: | Re: Private Properties | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-24255@lists.php.net to get a copy of this message | ||
>
> Aight, I'm back again:)))
> Now I'm almost done implementing private variables,
> gotta do some tweaking in zend-parser.y
> And I gotta test it in inheriting classes..
> but I'm getting there..
>
> My question:
> class test {
> private {
> var $private_var1;
> }
> }
>
I like this syntax better.
Any chance that private methods can be declared inside the block as well?
> or
>
> class test {
> private var $private_var1;
> private var $private_var2;
> }