note 84712 added to language.references
| From: | ffmandu13 at hotmail dot com | Date: | Sat, 26 Jul 2008 14:06:48 +0000 |
| Subject: | note 84712 added to language.references | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-142786@lists.php.net to get a copy of this message | ||
Just a side note to make developpers more careful about references.
References are pretty much useful when you try to optimize your code.
By the way, the time gained by referenced variables will depend of the variable type.
Integer and Float variables will work quite as fast referenced or not.
Whereas String and Array should be always passed by reference (you mostly divide by 10 the execution
time).
Objects are automatically referenced by PHP.
Enjoy the references !
----
Server IP: 69.147.83.197
Probable Submitter: 86.201.116.253
----
Manual Page -- http://www.php.net/manual/en/language.references.php
Edit -- https://master.php.net/note/edit/84712
Del: integrated -- https://master.php.net/note/delete/84712/integrated
Del: useless -- https://master.php.net/note/delete/84712/useless
Del: bad code -- https://master.php.net/note/delete/84712/bad+code
Del: spam -- https://master.php.net/note/delete/84712/spam
Del: non-english -- https://master.php.net/note/delete/84712/non-english
Del: in docs -- https://master.php.net/note/delete/84712/in+docs
Del: other reasons-- https://master.php.net/note/delete/84712
Reject -- https://master.php.net/note/reject/84712
Search -- https://master.php.net/manage/user-notes.php