&$this vs $this
Created by: cfoellmann
Sometimes &$this
is used which seems to be unnecessary as far as I can tell.
My only resource explaining this is http://tomjn.com/2014/01/08/this/
Imported comments:
By rmccue on 2014-12-17 23:15:23 UTC
Indeed; all objects are passed by reference automatically with copy-on-write semantics, as of PHP 5.