mirror of
https://github.com/php/php-src.git
synced 2024-12-02 22:34:55 +08:00
36935e42ea
Closes GH-5312
16 lines
279 B
PHP
16 lines
279 B
PHP
--TEST--
|
|
Testing dynamic call with undefined variables
|
|
--FILE--
|
|
<?php
|
|
|
|
$a::$b();
|
|
|
|
?>
|
|
--EXPECTF--
|
|
Warning: Undefined variable $a in %s on line %d
|
|
|
|
Fatal error: Uncaught Error: Class name must be a valid object or a string in %s:%d
|
|
Stack trace:
|
|
#0 {main}
|
|
thrown in %s on line %d
|