--TEST-- Bug 69124: Method name must be as string (invalid error message when using reference to a string) --FILE-- {$method}(); } $instance = new Foo; $method = "bar"; test($instance, $method); ?> --EXPECT-- Success