Lines Matching refs:exchangeArray
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
106 --> exchangeArray() with bad arg type:
107 ArrayObject::exchangeArray(): Argument #1 ($array) must be of type array, null given