mirror of
https://github.com/php/php-src.git
synced 2024-10-17 22:42:38 +00:00
14 lines
187 B
Plaintext
14 lines
187 B
Plaintext
|
--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
|