summaryrefslogtreecommitdiff
path: root/ext/spl/tests/bug46160.phpt
blob: e4dbdff192657167a4a3241cb39a81e5c8c45d88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--TEST--
Bug #46160 (SPL - Memory leak when exception is throwed in offsetSet method)
--FILE--
<?php

try {
	$x = new splqueue;
	$x->offsetSet(0, 0);
} catch (Exception $e) { }

?>
DONE
--EXPECT--
DONE