note 85118 added to language.references
| From: | blake at osu1 dot php dot net | Date: | Fri, 15 Aug 2008 14:22:21 +0000 |
| Subject: | note 85118 added to language.references | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-143524@lists.php.net to get a copy of this message | ||
To ffmandu13 at hotmail dot com, that's not correct. If you do a little research, you'll
see that the Zend Engine employs "copy-on-write" logic, meaning that variables will be
referenced instead of copied until it's actually written to. There's really no need to
circumvent Zend's internal optimizations, since they're probably much more advanced than
you think. Here's a good link to read over:
http://bytes.com/forum/thread769586.html
As stated, there's rarely (if ever) a need to use references for optimization purposes. When in
doubt, remember that in most cases, the Zend Engine > you.
----
Server IP: 209.41.74.194
Probable Submitter: 67.79.71.114
----
Manual Page -- http://www.php.net/manual/en/language.references.php
Edit -- https://master.php.net/note/edit/85118
Del: integrated -- https://master.php.net/note/delete/85118/integrated
Del: useless -- https://master.php.net/note/delete/85118/useless
Del: bad code -- https://master.php.net/note/delete/85118/bad+code
Del: spam -- https://master.php.net/note/delete/85118/spam
Del: non-english -- https://master.php.net/note/delete/85118/non-english
Del: in docs -- https://master.php.net/note/delete/85118/in+docs
Del: other reasons-- https://master.php.net/note/delete/85118
Reject -- https://master.php.net/note/reject/85118
Search -- https://master.php.net/manage/user-notes.php