mirror of
https://github.com/php/php-src.git
synced 2026-04-14 19:41:05 +02:00
14 lines
277 B
PHP
14 lines
277 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";
|
|
}
|
|
?>
|
|
--EXPECT--
|
|
Offset invalid or out of range
|