note 54835 deleted from language.variables.scope by danbrown

From: Date: Mon, 18 May 2009 01:37:52 +0000
Subject: note 54835 deleted from language.variables.scope by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-155567@lists.php.net to get a copy of this message
Note Submitter: ---- To the last poster, regarding the speed tests: <?php $a = str_repeat('text', 100); $b = $a; $c =& $a; // $c == $b == $a // But you assigned a different value within the functions: $len = strlen($a); // $len != $a ?> I was bemused; how could the processing times of the functions/no-functions tests be compared in this way? And calling the strlen() function within each iteration of the loop must take more time anyway?

« previous php.notes (#155567) next »