Stripped object pass by reference

Starting PHP 5, it is no longer needed to pass objects by reference and it will be soon stripped out completely, resulting in fatal errors.

Source: http://php.net/manual/en/language.oop5.references.php