exception_006.phpt 132 B

12345678910
  1. --TEST--
  2. Trying to throw a non-object
  3. --FILE--
  4. <?php
  5. throw 1;
  6. ?>
  7. --EXPECTF--
  8. Fatal error: Can only throw objects in %s on line %d