Re: Class::? - accessing data, no success, can´t find thread discussed in
| From: | Stanislav Malyshev | Date: | Mon, 03 Jul 2000 14:41:08 +0000 |
| Subject: | Re: Class::? - accessing data, no success, can´t find thread discussed in | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-23324@lists.php.net to get a copy of this message | ||
w>> don╢t want to instanciate it, I don╢t need it╢s methods and so on, I
w>> just need some variables.
Why you need a class, if you don't want to instantiate it? Just call your
variables $Foo_Bar (or $GLOBALS["Foo_Bar"]) instead of $Foo::Bar and you
are happy.
w>> Then, is it possible anyway? I╢m sure it has been discussed before and
Don't think so. It'd require serious changes, I fear, which I'm not sure
are needed.
--
Stanislav Malyshev stas@zend.com
+972-3-6139665