removed php 5.4 array notation
fixed unit test for HHVM