mirror of
https://github.com/php/php-src.git
synced 2024-10-21 00:12:34 +00:00
15 lines
202 B
Plaintext
15 lines
202 B
Plaintext
|
--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
|