Fix call-time pass-by-reference in new.php.

call_user_func can't be used as it never passes by reference,
so switch to using variable functions.