- fix 'only variables may be passed by reference errors in PHP 5.0.4+