indirect_call_array_001.phpt 174 B

1234567891011
  1. --TEST--
  2. Indirect method call by array - Invalid class name
  3. --FILE--
  4. <?php
  5. $arr = array('a', 'b');
  6. $arr();
  7. ?>
  8. --EXPECTF--
  9. Fatal error: Class 'a' not found in %s on line %d