PHP 5.4 Call-time pass-by-reference error fix