On 18-06-2009 at 15:29:59 Igor Sverkos <igor.sverkos+php...@googlemail.com> wrote:

why are "value" variables of loops (e.g. tal:repeat) set in the global scope
($ctx)?

$ctx is not global scope, it's top of the scope stack - the current scope.

In 1.1.x scope stack was not pushed before entering loop. In 1.2 this bug is fixed. Variable will cease to exist at end of the loop and previous value will be restored.

--
regards, Kornel

_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to