Fix test with opcache/zts dependent output

Refcount depends on whether array is immutablized and string is
interned.