note 70158 modified in language.types.string by colder
| From: | colder@php.net | Date: | Thu, 19 Oct 2006 23:13:41 +0000 |
| Subject: | note 70158 modified in language.types.string by colder | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-118788@lists.php.net to get a copy of this message | ||
If you're after performance in your PHP, then doing
<?php $var = "string with a $variable reference" ?>
is measurably slower than than
<?php $var = 'string with a '.$variable.' reference' ?>
--was--
If you're after performance in your PHP, then doing
<?php $var = "string with a $variable reference" ?>
is measurably slower than than
<?php $var = "string with a ".$variable." reference" ?>
http://php.net/manual/en/language.types.string.php