--TEST-- SplFixedArray properties is incompatible with ArrayObject --FILE-- exchangeArray($fixedArray); } catch (InvalidArgumentException $e) { echo $e->getMessage(), "\n"; } ?> --EXPECTF-- Deprecated: ArrayObject::exchangeArray(): Using an object as a backing array for ArrayObject is deprecated, as it allows violating class constraints and invariants in %s on line %d Overloaded object of type SplFixedArray is not compatible with ArrayObject