On 08-07-2010 at 13:50:27 Thomas D. <whist...@googlemail.com> wrote:
which will end in a "...unexpected T_NS_SEPARATOR..." error.
So how do we do that? Isn't that currently possible, because PHPTal
hasn't got namespace support? Do we need to use the experimental PHPTal
with explicit namespace support?
You don't need that experimental version. The problem is only in code
parser for php: modifier, which has been extended to allow namespaces
after 1.2.1 was released. So you version newer than 1.2.1 (try 1.2.2b or
The fix is trivial, so if you prefer sticking to stable version, you can
modify PHPTAL_Php_Transformer::isVarNameChar() and add '\\' as allowed
PHPTAL mailing list