note 98480 added to language.operators.string

From: Date: Thu, 17 Jun 2010 21:52:11 +0000
Subject: note 98480 added to language.operators.string
Groups: php.notes 
Request: Send a blank email to php-notes+get-170222@lists.php.net to get a copy of this message
In the time comparisons I made, the time differences were hardly worth worrying about. Using Kevin's code below with an iteration of 100,000 concats of 15 variables only showed a time difference of 20 milliseconds or so, about 20 % faster for the string method vs the . method. Time differences for typical simple concats would be completely negligible. Just my two cents. :-) ---- Server IP: 69.147.83.197 Probable Submitter: 216.24.160.2 ---- Manual Page -- http://www.php.net/manual/en/language.operators.string.php Edit -- https://master.php.net/note/edit/98480 Del: integrated -- https://master.php.net/note/delete/98480/integrated Del: useless -- https://master.php.net/note/delete/98480/useless Del: bad code -- https://master.php.net/note/delete/98480/bad+code Del: spam -- https://master.php.net/note/delete/98480/spam Del: non-english -- https://master.php.net/note/delete/98480/non-english Del: in docs -- https://master.php.net/note/delete/98480/in+docs Del: other reasons-- https://master.php.net/note/delete/98480 Reject -- https://master.php.net/note/reject/98480 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#170222) next »