note 60986 added to language.references
| From: | Ed at osu1 dot php dot net | Date: | Sun, 22 Jan 2006 19:29:17 +0000 |
| Subject: | note 60986 added to language.references | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-102245@lists.php.net to get a copy of this message | ||
Responding to Slava Kudinov. The only reason why your script takes longer when you pass by
reference is that you do not at all modify the array that your passing to your functions. If you do
that the diffrences in execution time will be a lot smaller. In fact passing by reference will be
faster if just by a little bit.
----
Server IP: 64.246.30.37
Probable Submitter: 68.173.206.159
----
Manual Page -- http://www.php.net/manual/en/language.references.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+60986
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+60986&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+60986&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+60986&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+60986&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+60986&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+60986&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+60986&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+60986&report=yes
Search -- http://master.php.net/manage/user-notes.php