Home
last modified time | relevance | path

Searched refs:exchangeArray (Results 1 – 14 of 14) sorted by relevance

/php-src/ext/spl/tests/
H A DarrayObject_exchangeArray_basic2.phpt5 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 DarrayObject_exchangeArray_basic3.phpt2 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 Dgh16646_2.phpt2 GH-16646: Use-after-free in ArrayObject::exchangeArray() with destructor
10 $arr->exchangeArray([]);
15 $arr->exchangeArray([]);
H A Dbug41691.phpt2 Bug #41691 (ArrayObject::exchangeArray hangs Apache)
16 var_dump($a->exchangeArray(array('a'=>1,'b'=>1,'c'=>1)));
H A DArrayObject_exchange_array_during_sorting.phpt2 Can't use exchangeArray() while ArrayObject is being sorted
11 $ao->exchangeArray([4, 5, 6]);
H A DarrayObject_exchangeArray_basic1.phpt2 SPL: ArrayObject::exchangeArray() and copy-on-write references
8 $ao->exchangeArray($swapIn);
H A DArrayObject_overloaded_object_incompatible.phpt8 $ao->exchangeArray(new DateInterval('P1D'));
H A DArrayObject_overloaded_SplFixedArray.phpt10 $ao->exchangeArray($fixedArray);
H A Dgh16646.phpt17 $arr->exchangeArray([]);
H A DArrayObject_sort_different_backing_storage.phpt16 $ao3->exchangeArray($ao3);
H A Darray_017.phpt2 SPL: ArrayObject::exchangeArray($this)
52 $this->exchangeArray($this);
/php-src/ext/spl/
H A Dspl_array.stub.php75 public function exchangeArray(array|object $array): array {} function in ArrayObject
H A Dspl_array_arginfo.h177 ZEND_METHOD(ArrayObject, exchangeArray);
213 ZEND_ME(ArrayObject, exchangeArray, arginfo_class_ArrayObject_exchangeArray, ZEND_ACC_PUBLIC)
H A Dspl_array.c1090 PHP_METHOD(ArrayObject, exchangeArray) in PHP_METHOD() argument

Completed in 18 milliseconds