On Tue, April 10, 2007 9:40 pm, Robert Cummings wrote: >> echo "The cost is ", $cost; > > -1 Improper use of double quotes when nothing interpolated. Yeah, I used to believe in that Urban Legend, and even promulgated it, once upon a time. Then Rasmus set me straight that it's not really any faster/slower, and the only difference is whatever is more convenient, if you don't need anything interpolated. Remember that '' examine each character in turn to detect \' and \\ It is the same order of magnitude search, with a slightly smaller constant number of patterns to find. I actually do often use '' if there is nothing to interpolate, for longer strings especially, so that the reader (me) knows that there is nothing being interpolated. But on a short enough string, it just doesn't matter which is used. -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php