Re: Class::? - accessing data, no success, can´t find thread discussed in

From: Date: Mon, 03 Jul 2000 14:30:47 +0000
Subject: Re: Class::? - accessing data, no success, can´t find thread discussed in
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-23323@lists.php.net to get a copy of this message
SM>> Maybe it's possible, but I fail to see why you need it. Object data SM>> without object mean nothing. You could (and should) use global in this SM>> case. It´s not possible to use global! To use global I need an object,variable or anything to access. But the class has not been instanciated and I don´t want to instanciate it, I don´t need it´s methods and so on, I just need some variables. UW>> The "::" operator is not equal to the C++ "::" or Java's "." UW>> counterpart. In C++ or Java you can use "::" (".") for a static UW>> access of a method or property. UW>> UW>> The PHP "::" operator means something different. You can use it UW>> to access overriden methods of a superclass from within a drived UW>> class of the superclass. Then, is it possible anyway? I´m sure it has been discussed before and someone said that he access a static method. If I´ve to instanciate that class (very big one with massive sub classes) I´ll loose about 0.5s every time. -- o----------0-¬---------O-·---¬----o---®-----o o O ° . | http://www.kiffen.de | pRoteçt y0ur bRaín |0 O ° ¤ ° · 0°·³°²'²³-¹'³´³°^°³~³²³°'³²²¨³²^³¹³²°²³`³º³°Þ ° o © ° . · | psychedelic experience | gott@kiffen.de | O ° o ° o-¬--o--0-----©-·--O-----o-----0-¤----------o 0 ° · ° . ¤ ·

« previous php.dev (#23323) next »