xref: /PHP-7.4/Zend/tests/dynamic_call_004.phpt (revision 782352c5)
1--TEST--
2Testing dynamic call with undefined variables
3--FILE--
4<?php
5
6$a::$b();
7
8?>
9--EXPECTF--
10Notice: Undefined variable: a in %s on line %d
11
12Fatal error: Uncaught Error: Class name must be a valid object or a string in %s:%d
13Stack trace:
14#0 {main}
15  thrown in %s on line %d
16