Changes between Version 1 and Version 2 of Ticket #16752, comment 1
- 03/29/11 11:19:12 (2 years ago)
v1 v2 1 I don't know how much the trade-off is for that, but the PHP manual states the following: 1 I don't know how much the trade-off is for that, but the : 2 2 3 3 > Returning by reference is useful when you want to use a function to find to which variable a reference should be bound. Do not use return-by-reference to increase performance. The engine will automatically optimize this on its own. Only return references when you have a valid technical reason to do so.