All these tests are meant to run with OPcache available, and some will even fail inevitably without it, so we add OPcache as SKIPIF requirement.
An empty array will not be turned into an array of references. This violated the invariant than an array has values iff it has keys.