Home
last modified time | relevance | path

Searched refs:SplDoublyLinkedList (Results 1 – 25 of 61) sorted by relevance

123

/PHP-8.2/ext/spl/
H A Dspl_dllist_arginfo.h87 ZEND_METHOD(SplDoublyLinkedList, add);
88 ZEND_METHOD(SplDoublyLinkedList, pop);
89 ZEND_METHOD(SplDoublyLinkedList, shift);
90 ZEND_METHOD(SplDoublyLinkedList, push);
92 ZEND_METHOD(SplDoublyLinkedList, top);
93 ZEND_METHOD(SplDoublyLinkedList, bottom);
95 ZEND_METHOD(SplDoublyLinkedList, count);
105 ZEND_METHOD(SplDoublyLinkedList, key);
106 ZEND_METHOD(SplDoublyLinkedList, prev);
107 ZEND_METHOD(SplDoublyLinkedList, next);
[all …]
/PHP-8.2/ext/spl/tests/
H A Dbug78456.phpt2 Bug #78456: Segfault when serializing SplDoublyLinkedList
6 $dllist = new SplDoublyLinkedList();
13 string(82) "O:19:"SplDoublyLinkedList":3:{i:0;i:0;i:1;a:1:{i:0;O:8:"stdClass":0:{}}i:2;a:0:{}}"
14 object(SplDoublyLinkedList)#3 (2) {
15 ["flags":"SplDoublyLinkedList":private]=>
17 ["dllist":"SplDoublyLinkedList":private]=>
H A Dbug79151.phpt6 $a = new SplDoublyLinkedList();
7 $a->setIteratorMode(SplDoublyLinkedList::IT_MODE_LIFO | SplDoublyLinkedList::IT_MODE_DELETE);
14 $a = new SplDoublyLinkedList();
15 $a->setIteratorMode(SplDoublyLinkedList::IT_MODE_FIFO | SplDoublyLinkedList::IT_MODE_DELETE);
H A DSplDoublyLinkedList_getIteratorMode.phpt2 SplDoublyLinkedList getIteratorMode
7 $list = new SplDoublyLinkedList();
8 $list->setIteratorMode(SplDoublyLinkedList::IT_MODE_FIFO | SplDoublyLinkedList::IT_MODE_KEEP);
10 $list->setIteratorMode(SplDoublyLinkedList::IT_MODE_LIFO);
H A DSplDoublyLinkedList_consistent_iterator_mode.phpt2 Iteration over SplDoublyLinkedList via 'foreach' does not change direction partway
6 $list = new SplDoublyLinkedList();
11 /* SplDoublyLinkedList would previously check the iteration mode *each time*
16 $list->setIteratorMode(SplDoublyLinkedList::IT_MODE_FIFO);
18 $list->setIteratorMode(SplDoublyLinkedList::IT_MODE_LIFO);
24 $list->setIteratorMode(SplDoublyLinkedList::IT_MODE_LIFO);
26 $list->setIteratorMode(SplDoublyLinkedList::IT_MODE_FIFO);
H A DSplDoublyLinkedList_serialization.phpt22 ["flags":"SplDoublyLinkedList":private]=>
24 ["dllist":"SplDoublyLinkedList":private]=>
34 ["flags":"SplDoublyLinkedList":private]=>
36 ["dllist":"SplDoublyLinkedList":private]=>
45 ["flags":"SplDoublyLinkedList":private]=>
47 ["dllist":"SplDoublyLinkedList":private]=>
57 ["flags":"SplDoublyLinkedList":private]=>
59 ["dllist":"SplDoublyLinkedList":private]=>
H A DSplDoublylinkedlist_offsetunset_first.phpt2 SPL: SplDoublyLinkedList : offsetUnset - first element
7 $list = new SplDoublyLinkedList();
15 object(SplDoublyLinkedList)#1 (2) {
16 ["flags":"SplDoublyLinkedList":private]=>
18 ["dllist":"SplDoublyLinkedList":private]=>
H A DSplDoublylinkedlist_offsetunset_last.phpt2 SPL: SplDoublyLinkedList : offsetUnset - last element
7 $list = new SplDoublyLinkedList();
15 object(SplDoublyLinkedList)#1 (2) {
16 ["flags":"SplDoublyLinkedList":private]=>
18 ["dllist":"SplDoublyLinkedList":private]=>
H A Dbug70169.phpt2 SPL: Bug #70169 Use After Free Vulnerability in unserialize() with SplDoublyLinkedList
6 $exploit = 'a:2:{i:0;C:19:"SplDoublyLinkedList":'.strlen($inner).':{'.$inner.'}i:1;R:3;}';
19 object(SplDoublyLinkedList)#%d (2) {
20 ["flags":"SplDoublyLinkedList":private]=>
22 ["dllist":"SplDoublyLinkedList":private]=>
H A Dgh16464.phpt2 GH-16464: Use-after-free in SplDoublyLinkedList::offsetSet() when modifying list in destructor of o…
15 $list = new SplDoublyLinkedList;
23 object(SplDoublyLinkedList)#%d (2) {
24 ["flags":"SplDoublyLinkedList":private]=>
26 ["dllist":"SplDoublyLinkedList":private]=>
H A DSplDoublyLinkedList_debug-info.phpt2 Check that SplDoublyLinkedList returns debug info when print_r is used.
8 $dll = new SplDoublyLinkedList();
19 SplDoublyLinkedList Object
21 [flags:SplDoublyLinkedList:private] => 0
22 [dllist:SplDoublyLinkedList:private] => Array
H A Ddllist_012.phpt5 $a = new SplDoublyLinkedList;
11 object(SplDoublyLinkedList)#%d (2) {
12 ["flags":"SplDoublyLinkedList":private]=>
14 ["dllist":"SplDoublyLinkedList":private]=>
H A Ddllist_003.phpt5 $dll = new SplDoublyLinkedList();
10 $dll->setIteratorMode(SplDoublyLinkedList::IT_MODE_LIFO);
16 $dll->setIteratorMode(SplDoublyLinkedList::IT_MODE_FIFO);
21 $dll->setIteratorMode(SplDoublyLinkedList::IT_MODE_FIFO | SplDoublyLinkedList::IT_MODE_DELETE);
H A Ddllist_008.phpt2 SPL: SplDoublyLinkedList with overridden count()
5 $obj = new SplDoublyLinkedList();
9 class SplDoublyLinkedList2 extends SplDoublyLinkedList{
H A DSplDoublyLinkedList_add_null_offset.phpt2 Check that SplDoublyLinkedList::add throws an exception with an invalid offset argument
6 $dll = new SplDoublyLinkedList();
13 Exception: SplDoublyLinkedList::add(): Argument #1 ($index) must be of type int, array given
H A Dunserialize.phpt6 $types = array('SplDoublyLinkedList', 'SplObjectStorage', 'ArrayObject');
22 object(SplDoublyLinkedList)#%d (2) {
23 ["flags":"SplDoublyLinkedList":private]=>
25 ["dllist":"SplDoublyLinkedList":private]=>
H A DSplDoublyLinkedList_add_invalid_offset.phpt2 Check that SplDoublyLinkedList::add throws an exception with an invalid offset argument
6 $dll = new SplDoublyLinkedList();
13 Exception: SplDoublyLinkedList::add(): Argument #1 ($index) is out of range
H A DSplDoublyLinkedList_lifoMode.phpt2 Check that SplDoublyLinkedList can traverse backwards
7 $list = new SplDoublyLinkedList();
13 $list->setIteratorMode(SplDoublyLinkedList::IT_MODE_LIFO);
H A DSplDoublyLinkedList_offsetGet_param_array.phpt2 SplDoublyLinkedList::offsetGet() with 1st parameter passed as array.
8 $array = new SplDoublyLinkedList( );
14 Fatal error: Uncaught TypeError: SplDoublyLinkedList::offsetGet(): Argument #1 ($index) must be of …
H A DSplDoublyLinkedList_offsetGet_param_string.phpt2 SplDoublyLinkedList::offsetGet() with 1st parameter passed as string.
8 $array = new SplDoublyLinkedList( );
14 Fatal error: Uncaught TypeError: SplDoublyLinkedList::offsetGet(): Argument #1 ($index) must be of …
H A Dbug73629.phpt2 Bug #73629 (SplDoublyLinkedList::setIteratorMode masks intern flags)
7 $q->setIteratorMode(SplDoublyLinkedList::IT_MODE_FIFO);
12 $q->setIteratorMode(SplDoublyLinkedList::IT_MODE_LIFO);
H A DSplDoublyLinkedList_offsetUnset_negative-parameter.phpt2 Check that SplDoublyLinkedList->offsetUnset() returns an error message when the offset is < 0.
8 $dll = new SplDoublyLinkedList();
23 SplDoublyLinkedList::offsetUnset(): Argument #1 ($index) is out of range
H A Dbug80111.phpt2 Bug #80111: PHP SplDoublyLinkedList::offsetUnset UAF Sandbox Escape
21 //$v = new SplDoublyLinkedList();
22 //$v->setIteratorMode(SplDoublyLinkedList::IT_MODE_DELETE);
42 $s = new SplDoublyLinkedList();
54 # calls SplDoublyLinkedList::offsetUnset, which will remove the element from the
H A DSplDoublyLinkedList_offsetUnset_parameter-larger-num-elements.phpt2 Check that SplDoublyLinkedList->offsetUnset() returns an error message when the offset is > element…
8 $dll = new SplDoublyLinkedList();
23 SplDoublyLinkedList::offsetUnset(): Argument #1 ($index) is out of range
/PHP-8.2/Zend/tests/
H A Dgc_043.phpt16 ["flags":"SplDoublyLinkedList":private]=>
18 ["dllist":"SplDoublyLinkedList":private]=>
33 ["flags":"SplDoublyLinkedList":private]=>
35 ["dllist":"SplDoublyLinkedList":private]=>

Completed in 16 milliseconds

123