RE: Include file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[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.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux