Problem with variable functions

From: Date: Sun, 12 Mar 2000 20:29:56 +0000
Subject: Problem with variable functions
Groups: php.version4 
Request: Send a blank email to php-version4+get-11978@lists.php.net to get a copy of this message
Here's a small snippet that demonstrates an inconsistency with the user-callable function code: <?php class Foo { function bar () { echo 'Foo::bar() called'; } } // this works Foo::bar(); // this doesn't $func = 'Foo::bar'; $func(); ?> Am I right in guessing that this is the same issue that prevents "Foo::bar" being passed to usort()? If so, can this be fixed before RC1? -chuck

« previous php.version4 (#11978) next »