bug79432.phpt 288 B

1234567891011121314
  1. --TEST--
  2. Bug #79432 (spl_autoload_call() with non-string argument violates assertion)
  3. --FILE--
  4. <?php
  5. try {
  6. spl_autoload_call([]);
  7. } catch (TypeError $e) {
  8. echo $e->getMessage(), "\n";
  9. }
  10. ?>
  11. --EXPECT--
  12. spl_autoload_call(): Argument #1 ($class) must be of type string, array given