indirect_call_array_002.phpt 201 B

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