Hi All,

I was wondering if it is possible to access dinamically to the members
of a class. I mean to access like:

class foo {
        var $bar;
        var $barbar;


$foo_instance = new foo;
$somevar = $foo->$anothervar;

I now this doesn't work, and have searched the manual and haven't found
anything on it. I doubt it since this is more or less the work of the
Arrays and not the way a class should behave. Anyway any ideas? thanks
in advance.

        Sean C. McCarthy
        SCI, S.L. (www.sci-spain.com)

PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to