Re[2]: [PHP] Include file

From: Date: Wed, 30 Mar 2005 21:41:01 +0000
Subject: Re[2]: [PHP] Include file
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-211918@lists.php.net to get a copy of this message
Hello Jay, Wednesday, March 30, 2005, 10:14:27 PM, you wrote: JB> I try to use both types of quotes in the proper circumstance. JB> Having said that, I came to computing in the age where we worried JB> over CPU cycles, but I don't see how in this day and age the JB> difference between the two would even matter. Even on a high load JB> site the difference between the two would be negligible. I agree it's going to be negligible, but even so the difference does exist. The real question is which is faster between: include "path/$file" and include 'path/' . $file Can the compiler handle the in-line variables quicker than string concatenation? It'll take a C guru who knows the PHP code well to answer this fully. Best regards, Richard Davey -- http://www.launchcode.co.uk - PHP Development Services "I do not fear computers. I fear the lack of them." - Isaac Asimov

« previous php.general (#211918) next »