Last modified: 2014-07-08 18:42:40 UTC
Passing objects by reference isn't necessary in PHP5. I imagine it would be hard to check for any var that is an object to warn for pass-by-ref, but checking for the special case of $this should be easier. Make it optional, because I know there's a lot of violators of the rule (and it's not strictly harmful)
So, you want a warning whenever the tokens & $this appear?