Searched refs:exchangeArray (Results 1 – 14 of 14) sorted by relevance
/php-src/ext/spl/tests/ |
H A D | arrayObject_exchangeArray_basic2.phpt | 5 echo "--> exchangeArray(array):\n"; 7 $ao->exchangeArray(array('key'=>'original')); 14 $ao->exchangeArray($obj); 20 $ao->exchangeArray($obj); 26 $ao->exchangeArray($obj); 32 $ao->exchangeArray($obj); 37 --> exchangeArray(array): 47 --> exchangeArray(normal object): 57 --> exchangeArray(ArrayObject): 70 --> exchangeArray(ArrayIterator): [all …]
|
H A D | arrayObject_exchangeArray_basic3.phpt | 2 SPL: ArrayObject::exchangeArray() basic usage with object as underlying data store. 11 echo "--> exchangeArray() with objects:\n"; 16 $copy = $ao->exchangeArray($swapIn); 26 echo "\n\n--> exchangeArray() with no arg:\n"; 31 $copy = $ao->exchangeArray(); 39 echo "\n\n--> exchangeArray() with bad arg type:\n"; 44 $copy = $ao->exchangeArray(null); 54 --> exchangeArray() with objects: 84 --> exchangeArray() with no arg: 85 Exception: ArrayObject::exchangeArray() expects exactly 1 argument, 0 given [all …]
|
H A D | gh16646_2.phpt | 2 GH-16646: Use-after-free in ArrayObject::exchangeArray() with destructor 10 $arr->exchangeArray([]); 15 $arr->exchangeArray([]);
|
H A D | bug41691.phpt | 2 Bug #41691 (ArrayObject::exchangeArray hangs Apache) 16 var_dump($a->exchangeArray(array('a'=>1,'b'=>1,'c'=>1)));
|
H A D | ArrayObject_exchange_array_during_sorting.phpt | 2 Can't use exchangeArray() while ArrayObject is being sorted 11 $ao->exchangeArray([4, 5, 6]);
|
H A D | arrayObject_exchangeArray_basic1.phpt | 2 SPL: ArrayObject::exchangeArray() and copy-on-write references 8 $ao->exchangeArray($swapIn);
|
H A D | ArrayObject_overloaded_object_incompatible.phpt | 8 $ao->exchangeArray(new DateInterval('P1D'));
|
H A D | ArrayObject_overloaded_SplFixedArray.phpt | 10 $ao->exchangeArray($fixedArray);
|
H A D | gh16646.phpt | 17 $arr->exchangeArray([]);
|
H A D | ArrayObject_sort_different_backing_storage.phpt | 16 $ao3->exchangeArray($ao3);
|
H A D | array_017.phpt | 2 SPL: ArrayObject::exchangeArray($this) 52 $this->exchangeArray($this);
|
/php-src/ext/spl/ |
H A D | spl_array.stub.php | 75 public function exchangeArray(array|object $array): array {} function in ArrayObject
|
H A D | spl_array_arginfo.h | 177 ZEND_METHOD(ArrayObject, exchangeArray); 213 ZEND_ME(ArrayObject, exchangeArray, arginfo_class_ArrayObject_exchangeArray, ZEND_ACC_PUBLIC)
|
H A D | spl_array.c | 1090 PHP_METHOD(ArrayObject, exchangeArray) in PHP_METHOD() argument
|
Completed in 21 milliseconds