make HHVM happy with ArrayObject instances used in certain array functions