mirror of
https://github.com/php/php-src.git
synced 2024-12-13 03:44:17 +08:00
16 lines
278 B
PHP
16 lines
278 B
PHP
--TEST--
|
|
Testing dynamic call with undefined variables
|
|
--FILE--
|
|
<?php
|
|
|
|
$a::$b();
|
|
|
|
?>
|
|
--EXPECTF--
|
|
Notice: 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
|