Quote:
Originally posted by fastforward
How are replacement variables handled then? Isn't every template parsed for these things anyway? Can't you just have a special type of replacement variable that has it's replaced value treated as a block of code?
Oversimplified I know, but is it feasible?
This is definately something I'd like though. Even if it only handled a simple if then construct it would be great.
|
Regexing text is
far more resource-intensitive then using str_replace (like replacement vars are parsed)