dynamic_call_004.phpt 222 B

123456789101112
  1. --TEST--
  2. Testing dynamic call with undefined variables
  3. --FILE--
  4. <?php
  5. $a::$b();
  6. ?>
  7. --EXPECTF--
  8. Notice: Undefined variable: a in %s on line %d
  9. Fatal error: Class name must be a valid object or a string in %s on line %d