ParentClass::Function() does not accepts vars...

From: Date: Mon, 03 Jul 2000 04:48:33 +0000
Subject: ParentClass::Function() does not accepts vars...
Groups: php.dev 
Request: Send a blank email to php-dev+get-23265@lists.php.net to get a copy of this message
(1) This is possible: ParentClass::Function() Why this isn´t: $class='ParentClass'; $class::Function(); Variable functions are allowed and variable classes on creation and access too, the above ought to be possible too or am I wrong? (2) How do I access a variable from a non-instanciated class (I know this has been discussed before, but I do not find the right postings anymore) eg. A::variable1; in class A { var $variable1='foo'; } regards -- 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 (#23265) next »