removed call-time pass-by-reference (for PHP 5.4)