Detecting when backticks are necessary
| From: | Katana | Date: | Tue, 10 Feb 2004 13:39:26 +0000 |
| Subject: | Detecting when backticks are necessary | ||
| Groups: | php.smarty.dev | ||
| Request: | Send a blank email to php-smarty-dev+get-2098@lists.php.net to get a copy of this message | ||
Hi,
I'm here again with another smarty regexp question :-)
I need to detect when it is necessary to add backticks around a smarty variable embedded inside a string.
Is there any smarty predefined syntax I could use to do that ?
And is it a big overhead if I add backticks around every smarty variable found inside a string ? I have to admit it would be the easiest solution but I don't want to kill performances.
Thanks in advance,
Katana