Merge branch 'hotfix/#6083-hydrator-number-of-parameters-filter-honored'

Close #6083
Prevent ArrayObject recursion in 5.6
Merge branch 'hotfix/#6096-prevent-php-5.6-arrayobject-infinite-recursion' into develop

Close #6096
Forward Port #6096