Re: RE:Class::? - accessing data, no success...
| From: | Ulf Wendel | Date: | Tue, 04 Jul 2000 12:43:46 +0000 |
| Subject: | Re: RE:Class::? - accessing data, no success... | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-23454@lists.php.net to get a copy of this message | ||
Stanislav Malyshev wrote:
> w>> (2) I´d prefer that accessing methods other than the overriden ones via
> w>> :: should *not* be possible, instead to do this there should something
> w>> newly be introduced to make static calls to methods of non instanciated
> w>> classes (and by doing this static calls to data members should be made
> w>> possible too).
>
> What for? No, I saw examples. I can make you 1001 examples of whatever
> feature could be useful. But why do you *need* it? Why can't you live
> without it?
I can live without static properties, although I would like to
see them. Static properties are a must when you're doing heavy OO
or working with a "pure" OO language. It's a nice to have feature
in PHP but no "must".
Stanislav you made clear that static properties would mean major
changes to PHP and can't be implemented on the fly. Please take
it as a feature request for comming PHP versions (5?).
Ulf
--
Ulf Wendel
NetUSE AG
Siemenswall, D-24107 Kiel, Germany
Fon: +49 431 386435 00 -- Fax: +49 431 386435 99