1
0
mirror of https://github.com/php/php-src.git synced 2026-04-05 15:12:39 +02:00
Files
archived-php-src/Zend/tests/dynamic_call_003.phpt
2008-05-11 03:50:28 +00:00

14 lines
187 B
PHP

--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