func_get_args() cannot be passed into an object that expects a reference - fixed