Is there a reason or is it a bug that the following code doesn't work anymore?

class Foo {
  function bar()
  {
    echo "bar";
  }
}

$method = "bar";

Foo::$method();

parse error, unexpected '('

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to