parent constructor

From: Date: Wed, 07 Feb 2001 04:05:19 +0000
Subject: parent constructor
Groups: php.general 
Request: Send a blank email to php-general+get-38485@lists.php.net to get a copy of this message
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

« previous php.general (#38485) next »