php-src/Zend/tests/dynamic_call_002.phpt
2008-05-11 03:50:28 +00:00

13 lines
189 B
PHP

--TEST--
Testing dynamic call with invalid value for method name
--FILE--
<?php
$a = new stdClass;
$a::$a();
?>
--EXPECTF--
Fatal error: Function name must be a string in %s on line %d