bug46160.phpt 208 B

1234567891011121314
  1. --TEST--
  2. Bug #46160 (SPL - Memory leak when exception is throwed in offsetSet method)
  3. --FILE--
  4. <?php
  5. try {
  6. $x = new splqueue;
  7. $x->offsetSet(0, 0);
  8. } catch (Exception $e) { }
  9. ?>
  10. DONE
  11. --EXPECT--
  12. DONE