mirror of
https://github.com/php/php-src.git
synced 2025-08-19 08:49:28 +02:00
12 lines
189 B
PHP
12 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
|