Fixed usage of imported namespace.

The use statement imports \ArrayObject as PhpArrayObject so we need to use it here. In other case it will use of undefined constant.
Merge pull request #5507