Forums / Setup & design / quotes / Comment16767
Alex Jones
Monday 18 October 2004 6:39:57 am
That's a good question Marko.
Marco, I think what Marko is asking is, whether Exponential uses the same set of evaluation procedures for single quotes and double quotes as PHP. Within PHP, a string contained in single quotes will not be evaluated for variables, whereas a string in double-quotes will be evaluated. So, if you have a plain-text string, that has no variables, it is faster to use single quotes for it. If Exponential's template markup does follow the same pattern, it may well affect rendering speed and whether or not variables are read properly.
Marko, from my experience, I do not think that Exponential acknowledges any difference between single and double quotes, though someone else may be able to provide a more definitive answer.
Alex [ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ] <i>When in doubt, clear the cache.</i>