xref: /PHP-7.1/ext/spl/tests/bug46160.phpt (revision 54231ab5)
1--TEST--
2Bug #46160 (SPL - Memory leak when exception is throwed in offsetSet method)
3--FILE--
4<?php
5
6try {
7	$x = new splqueue;
8	$x->offsetSet(0, 0);
9} catch (Exception $e) { }
10
11?>
12DONE
13--EXPECT--
14DONE
15