Fix a PHP error: cannot pass by reference.