mirror of
https://github.com/php/php-src.git
synced 2024-09-29 13:56:09 +00:00
15 lines
295 B
PHP
15 lines
295 B
PHP
--TEST--
|
|
Bug #71735 (Double-free in SplDoublyLinkedList::offsetSet)
|
|
--FILE--
|
|
<?php
|
|
try {
|
|
$var_1=new SplStack();
|
|
$var_1->offsetSet(100,new DateTime('2000-01-01'));
|
|
} catch(OutOfRangeException $e) {
|
|
print $e->getMessage()."\n";
|
|
}
|
|
?>
|
|
===DONE===
|
|
--EXPECT--
|
|
Offset invalid or out of range
|
|
===DONE===
|