1
0
mirror of https://github.com/php/php-src.git synced 2026-04-25 00:48:25 +02:00
Files
archived-php-src/Zend/tests/dynamic_call_004.phpt
T
2019-10-02 10:34:08 +02:00

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