HHVM improvement JIT (avoid pseudo-domain scope)

wrap class array inside function