dynamic_call_002.phpt 189 B

123456789101112
  1. --TEST--
  2. Testing dynamic call with invalid value for method name
  3. --FILE--
  4. <?php
  5. $a = new stdClass;
  6. $a::$a();
  7. ?>
  8. --EXPECTF--
  9. Fatal error: Function name must be a string in %s on line %d