removed pass-by-reference

In PHP 5.3 pass-by-reference has been deprecated, and removed in 5.4