/PHP-8.0/ext/spl/ |
H A D | spl_dllist_arginfo.h | 78 ZEND_METHOD(SplDoublyLinkedList, add); 79 ZEND_METHOD(SplDoublyLinkedList, pop); 80 ZEND_METHOD(SplDoublyLinkedList, shift); 81 ZEND_METHOD(SplDoublyLinkedList, push); 83 ZEND_METHOD(SplDoublyLinkedList, top); 84 ZEND_METHOD(SplDoublyLinkedList, bottom); 86 ZEND_METHOD(SplDoublyLinkedList, count); 96 ZEND_METHOD(SplDoublyLinkedList, key); 97 ZEND_METHOD(SplDoublyLinkedList, prev); 98 ZEND_METHOD(SplDoublyLinkedList, next); [all …]
|
H A D | spl_dllist.stub.php | 5 class SplDoublyLinkedList implements Iterator, Countable, ArrayAccess, Serializable class 98 class SplQueue extends SplDoublyLinkedList 113 class SplStack extends SplDoublyLinkedList
|
/PHP-8.0/ext/spl/tests/ |
H A D | bug78456.phpt | 2 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 D | SplDoublyLinkedList_getIteratorMode.phpt | 2 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 D | bug79151.phpt | 6 $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 D | SplDoublyLinkedList_consistent_iterator_mode.phpt | 2 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 D | SplDoublylinkedlist_offsetunset_first.phpt | 2 SPL: SplDoublyLinkedList : offsetUnset - first element 7 $list = new SplDoublyLinkedList(); 15 object(SplDoublyLinkedList)#1 (2) { 16 ["flags":"SplDoublyLinkedList":private]=> 18 ["dllist":"SplDoublyLinkedList":private]=>
|
H A D | SplDoublylinkedlist_offsetunset_last.phpt | 2 SPL: SplDoublyLinkedList : offsetUnset - last element 7 $list = new SplDoublyLinkedList(); 15 object(SplDoublyLinkedList)#1 (2) { 16 ["flags":"SplDoublyLinkedList":private]=> 18 ["dllist":"SplDoublyLinkedList":private]=>
|
H A D | SplDoublyLinkedList_serialization.phpt | 22 ["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 D | bug70169.phpt | 2 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 D | dllist_012.phpt | 5 $a = new SplDoublyLinkedList; 11 object(SplDoublyLinkedList)#%d (2) { 12 ["flags":"SplDoublyLinkedList":private]=> 14 ["dllist":"SplDoublyLinkedList":private]=>
|
H A D | SplDoublyLinkedList_debug-info.phpt | 2 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 D | dllist_003.phpt | 5 $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 D | dllist_008.phpt | 2 SPL: SplDoublyLinkedList with overridden count() 5 $obj = new SplDoublyLinkedList(); 9 class SplDoublyLinkedList2 extends SplDoublyLinkedList{
|
H A D | SplDoublyLinkedList_add_null_offset.phpt | 2 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 D | SplDoublyLinkedList_add_invalid_offset.phpt | 2 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 D | unserialize.phpt | 6 $types = array('SplDoublyLinkedList', 'SplObjectStorage', 'ArrayObject'); 22 object(SplDoublyLinkedList)#%d (2) { 23 ["flags":"SplDoublyLinkedList":private]=> 25 ["dllist":"SplDoublyLinkedList":private]=>
|
H A D | SplDoublyLinkedList_lifoMode.phpt | 2 Check that SplDoublyLinkedList can traverse backwards 7 $list = new SplDoublyLinkedList(); 13 $list->setIteratorMode(SplDoublyLinkedList::IT_MODE_LIFO);
|
H A D | SplDoublyLinkedList_offsetGet_param_array.phpt | 2 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 D | SplDoublyLinkedList_offsetGet_param_string.phpt | 2 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 D | bug73629.phpt | 2 Bug #73629 (SplDoublyLinkedList::setIteratorMode masks intern flags) 7 $q->setIteratorMode(SplDoublyLinkedList::IT_MODE_FIFO); 12 $q->setIteratorMode(SplDoublyLinkedList::IT_MODE_LIFO);
|
H A D | SplDoublyLinkedList_offsetUnset_negative-parameter.phpt | 2 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 D | SplDoublyLinkedList_offsetUnset_parameter-larger-num-elements.phpt | 2 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
|
H A D | SplDoublyLinkedList_current.phpt | 2 SplDoublyLinkedList getIteratorMode 7 $list = new SplDoublyLinkedList();
|
/PHP-8.0/Zend/tests/ |
H A D | gc_043.phpt | 15 ["flags":"SplDoublyLinkedList":private]=> 17 ["dllist":"SplDoublyLinkedList":private]=> 32 ["flags":"SplDoublyLinkedList":private]=> 34 ["dllist":"SplDoublyLinkedList":private]=>
|