RE: [PHP] Include file

From: Date: Wed, 30 Mar 2005 21:14:27 +0000
Subject: RE: [PHP] Include file
Groups: php.general 
Request: Send a blank email to php-general+get-211914@lists.php.net to get a copy of this message
[snip] > Why is it faster? And why should you avoid using double quotes? > ..."Scripts using single quotes run slightly faster because the PHP parser can include the string directly. Double quoted strings are slower because they need to be parsed."... Quoted from: http://www.zend.com/zend/tut/using-strings.php?article=using-strings&kin d=t&id=1399&open=1&anc=0&view=1 [/snip] I try to use both types of quotes in the proper circumstance. Having said that, I came to computing in the age where we worried over CPU cycles, but I don't see how in this day and age the difference between the two would even matter. Even on a high load site the difference between the two would be negligible.

« previous php.general (#211914) next »