note 54847 deleted from language.variables.scope by danbrown
| From: | danbrown@php.net | Date: | Mon, 18 May 2009 01:37:49 +0000 |
| Subject: | note 54847 deleted from language.variables.scope by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-155566@lists.php.net to get a copy of this message | ||
Note Submitter: www dot php dot net dot 2nd at mailfilter dot com dot ar
----
To the bemused poster: Of course you can't compare processing times between functions/no
functions. I only wanted to see the difference between referenced and copied variables in different
scenarios. Tests are only meant to compare between pairs (i.e., call a function with & and call
the same function without &). I did 4 individual pairs of tests, so test 1 compares to test 2,
test 3 compares to test 4, test 5 compares to test 6 and test 7 compares to test 8. The strlen()
call was there only to make sure the value is actually accessed.