diff --git a/tests/recursion.html b/tests/recursion.html index 25df17b..d3e628e 100644 --- a/tests/recursion.html +++ b/tests/recursion.html @@ -3,7 +3,10 @@ TemplateObject – recursion TEST - + +

Refresh page to see different results

+
+ +
-

Refresh page to see different results

+ + + [block-2] + + \ No newline at end of file diff --git a/tests/recursion.php b/tests/recursion.php index 1433d1c..2671508 100644 --- a/tests/recursion.php +++ b/tests/recursion.php @@ -5,6 +5,8 @@ define('MAX_LEVEL', 5); recursion($to); +$to->setBlock('block2')->setBlock('block2')->setBlock('block2'); + $to->showOutput(); function recursion(&$tmpl, $level = 0)