note 87076 rejected from language.references.return by danbrown
| From: | danbrown@php.net | Date: | Tue, 18 Nov 2008 20:59:53 +0000 |
| Subject: | note 87076 rejected from language.references.return by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-146664@lists.php.net to get a copy of this message | ||
Note Submitter: php at info-svc dot com
----
"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