mirror of
https://github.com/php/php-src.git
synced 2024-12-03 23:05:57 +08:00
15 lines
202 B
PHP
15 lines
202 B
PHP
--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
|