Use call_user_func, as this will work on PHP < 5.4, whereas $callback() does not

Apparently `$callback($temp)` does not work on PHP < 5.4. I replaced it with `call_user_func($callback, $temp)` and this does work.