Replace PHP 5.5 array decelerations