Thank you all for your input.
I want only to disable php blocks, to prevent echo-ing unescaped strings,
like this:
I'll go for a preFilter.
Thanks!
___
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phpt
Have a look at PHP's tokenizer function token_get_all. It will give you a
rock solid base for your filter since it uses the same parser used in the
PHP engine.
regards,
/imv
On Sun, Aug 9, 2009 at 8:40 PM, Ionut Matei wrote:
> Thank you all for your input.
>
> I want only to disable php blocks,