[PHPTAL] Inconsistency of PHPTAL_FORCE_REPARSE constant ?

Laurent Bedubourg laurent at motion-twin.com
Fri Mar 30 19:11:09 CEST 2007


On Fri, 30 Mar 2007 08:05:47 +0200
Dagfinn Reiersøl <reiersol at online.no> wrote:

> In my experience this is a common way to use constants in PHP. I'm not 
> sure I like it, though. ;-)

I am not sure I like PHP at all :) 

Let's say it is a common C/C++/PHP usage and we will keep it like
that even if I don't really like it either.

Other news, I just commited some changes to SVN (many bug reports from
Kornel Lesinski) :

- fixed not bug with complex php: expressions
- fixed tales string antislash escaping
- fixed now only escape < and > in PCDATA
- fixed php:$foo expression which is evaluated to php:${foo} equals
$ctx->{$ctx->foo}

Yes I know the last one looks strange :)

I am going to purge my TODO list, expect a new release soon...

(The more I see this code, the more I think it is crying for a rewrite)

Regards
Laurent
-- 
Laurent Bedubourg
lbedubourg at motion-twin.com
http://www.motion-twin.com
http://www.haxe.org : Haxe the web oriented universal language



More information about the PHPTAL mailing list