Compatibility with PHP 5.3.0

PHP 5.3.0 does not allow "Passing by Reference". I have changed to prevent a call-time pass-by-reference error.