xref: /PHP-8.3/ext/spl/tests/bug46160.phpt (revision f8d79582)
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