note 87076 added to language.references.return
| From: | php at info-svc dot com | Date: | Tue, 18 Nov 2008 20:55:58 +0000 |
| Subject: | note 87076 added to language.references.return | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-146661@lists.php.net to get a copy of this message | ||
"Do not use return-by-reference to increase performance"
This is not accurate. If you want PHP to return a string that was passed-by-reference without
making a copy of it then you must also return-by-reference to increase performance.
Robert Chapin
Chapin Information Services
----
Server IP: 69.147.83.197
Probable Submitter: 76.251.216.86
----
Manual Page -- http://www.php.net/manual/en/language.references.return.php
Edit -- https://master.php.net/note/edit/87076
Del: integrated -- https://master.php.net/note/delete/87076/integrated
Del: useless -- https://master.php.net/note/delete/87076/useless
Del: bad code -- https://master.php.net/note/delete/87076/bad+code
Del: spam -- https://master.php.net/note/delete/87076/spam
Del: non-english -- https://master.php.net/note/delete/87076/non-english
Del: in docs -- https://master.php.net/note/delete/87076/in+docs
Del: other reasons-- https://master.php.net/note/delete/87076
Reject -- https://master.php.net/note/reject/87076
Search -- https://master.php.net/manage/user-notes.php