Fixes #2655: Arrayable and ArrayableTrait are incompatible for some PHP versions.