fix Fatal error: Call-time pass-by-reference has been removed

Hi Gordon,

call_user_func does not accept arguments to be passed by reference anymore.
The trick is to call call_user_func_array instead.

Best regards

Eric