PHP 5.4 Call-time pass-by-reference fix