Adding failing test case for #6089 - serialization causes notices
Hotfix for #6089 - `protectedProperties` of ArrayObject are maintained on serialization
Merge branch 'hotfix/6085'

Close #6085
Merge pull request #6092 from Ocramius/hotfix/#6089-arrayobject-serialization

Hotfix for #6089 - ArrayObject serialization doesn't restore `protectedProperties`
Merge branch 'hotfix/6092' into develop

Forward port #6092