Fix for HHVM
Merge pull request #1142 from TwoWholeWorms/2.4

func_get_args() call order fix for HHVM bug