dynamic_call_003.phpt   [plain text]


--TEST--
Testing dynamic call with invalid method name
--FILE--
<?php 

$a = new stdClass;
$b = 1;

$a::$b();

?>
--EXPECTF--
Fatal error: Function name must be a string in %s on line %d