Home
last modified time | relevance | path

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

/PHP-8.1/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.
10 echo "--> exchangeArray() with objects:\n";
15 $copy = $ao->exchangeArray($swapIn);
25 echo "\n\n--> exchangeArray() with no arg:\n";
30 $copy = $ao->exchangeArray();
38 echo "\n\n--> exchangeArray() with bad arg type:\n";
43 $copy = $ao->exchangeArray(null);
53 --> exchangeArray() with objects:
83 --> exchangeArray() with no arg:
84 Exception: ArrayObject::exchangeArray() expects exactly 1 argument, 0 given
[all …]
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 SplFixedArray);
H A DArrayObject_sort_different_backing_storage.phpt16 $ao3->exchangeArray($ao3);
H A Darray_017.phpt2 SPL: ArrayObject::exchangeArray($this)
50 $this->exchangeArray($this);
/PHP-8.1/ext/spl/
H A Dspl_array.stub.php70 public function exchangeArray(array|object $array): array {} function in ArrayObject
H A Dspl_array_arginfo.h177 ZEND_METHOD(ArrayObject, exchangeArray);
214 ZEND_ME(ArrayObject, exchangeArray, arginfo_class_ArrayObject_exchangeArray, ZEND_ACC_PUBLIC)
H A Dspl_array.c1324 PHP_METHOD(ArrayObject, exchangeArray) in PHP_METHOD() argument

Completed in 16 milliseconds