1--TEST--
2Testing dynamic call with undefined variables
3--FILE--
4<?php
5
6$a::$b();
7
8?>
9--EXPECTF--
10Warning: 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