Leif K-Brooks schrieb:
> I'm planning to use variable objects in a new project I'm working on.
> The problem is, I can't find one page of documentation on them, so I
> can't be sure if I'm going to be using an accidential feature that will
> disappear.  As an example of them working, the following outputs "In
> a_class.":
> <?php
> class a_class{
>    function a_class(){
>        echo 'In a_class.';
>    }
> }
> $foo = 'a_class';
> new $foo();
> ?>
> 

take a look at
http://www.php.net/manual/en/ref.classobj.php

;-)

-- 
 @  Goetz Lohmann, Germany   |   Web-Developer & Sys-Admin
\/  ------------------------------------------------------
()  He's the fellow that people wonder what he does and
||  why the company needs him, until he goes on vacation.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to