<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ste/tests/test_closure/code.php, branch autoescape</title>
<subtitle>The STE Template Engine is a compiling template engine for PHP ≥ 5.3.
</subtitle>
<id>https://git.laria.me/ste/atom?h=autoescape</id>
<link rel='self' href='https://git.laria.me/ste/atom?h=autoescape'/>
<link rel='alternate' type='text/html' href='https://git.laria.me/ste/'/>
<updated>2014-05-23T23:39:33Z</updated>
<entry>
<title>Added scoping.</title>
<updated>2014-05-23T23:39:33Z</updated>
<author>
<name>Kevin Chabowski</name>
<email>kevin@kch42.de</email>
</author>
<published>2014-05-23T23:39:33Z</published>
<link rel='alternate' type='text/html' href='https://git.laria.me/ste/commit/?id=84d815f4e006e02521759070bb89025dab80b219'/>
<id>urn:sha1:84d815f4e006e02521759070bb89025dab80b219</id>
<content type='text'>
ste:mktag generated tags now have an own scope. They even resemble
closures, since they inherit their parent scope.

A lot of work was done to keep this compatible with older programs.
However:

* Templates that relied on the non-scoping behavior of tags will probably
  fail.
* Since $ste-&gt;vars is no longer an actual array, things like
    $ste-&gt;vars["foo"]["bar"] = "baz"
  are no longer possible! A single field access will still work:
    $ste-&gt;vars["foo"] = "bar"
</content>
</entry>
</feed>
