Exchange the array for another one.
array $input: The array input to replace the internal value.
array The old array value.
ArrayObject::exchangeArray
public function exchangeArray($input) { $old = $this->value; $this->value = $input; return $old; }