bug72162.phpt 280 B

12345678910
  1. --TEST--
  2. Bug #72162 (use-after-free - error_reporting)
  3. --FILE--
  4. <?php
  5. error_reporting(E_ALL);
  6. $var11 = new StdClass();
  7. $var16 = error_reporting($var11);
  8. ?>
  9. --EXPECTF--
  10. Recoverable fatal error: Object of class stdClass could not be converted to string in %sbug72162.php on line %d