why doesn't this work?

$parentClass = get_parent_class($this);
parent::{$parentClass}();

I get a parse error.  can I not use variable functions with the "::" syntax?

I tried eval() and it loses the context.

thanks for the help!

-aaron

-- 
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