PHP as declared refusing the use of reference variable (E_DEPRECATED in 5.3, E_STRICT in 5.4).
Initially, I thought it was the use of & in all the cases, but it seems not.
So I was wondering, what kind of code using reference is still allowed, and what now throws a E_DEPRECATED/STRICT error?
So far and from what I learned, here’s the result :
SomeObject::foo()returning a new instance of an object.