Fix pass-by-reference test error for PHP >= 5.4