Location: PHPKode > projects > PHPTAL > PHPTAL-1.2.2/tests/input/tal-define.06.html
<div>
  <metal:block define-macro="foo">
    <span tal:define="global test 'value'"/>
    <span tal:replace="test"/>
  </metal:block>

  <div metal:use-macro="foo"/>
</div>
Return current item: PHPTAL