mirror of
https://github.com/php/php-src.git
synced 2024-12-15 12:54:57 +08:00
13 lines
189 B
PHP
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
|