Fixed warning issues in dynamic variables (ie: variable[another.property]), reported...
[haanga.git] / tests / tmp / assert_templates / if_else_simple.tpl.php
blob800754887d3fa8ac80dcdadfd44a1174a9d2d145
1 <?php
2 $HAANGA_VERSION = '1.0.4';
3 /* Generated from /home/crodas/projects/playground/haanga/tests/assert_templates/if_else_simple.tpl */
4 function haanga_e7733880179030f69680f92d682d991e9f93c62e($vars, $return=FALSE, $blocks=array())
6 global $test_global, $global1;
7 extract($vars);
8 if ($return == TRUE) {
9 ob_start();
11 if (1 == 2 || 1 + 2 == 3) {
12 echo 'True';
13 } else {
14 echo 'False';
16 echo '
18 if (strtoupper($var) == $var) {
19 echo 'True';
20 } else {
21 echo 'False';
23 echo '
25 if (1 === 2 || 1 + 2 === 3) {
26 echo 'True';
27 } else {
28 echo 'False';
30 echo '
32 if (1 !== 2) {
33 echo 'True';
34 } else {
35 echo 'False';
37 echo '
39 if (1 > 2) {
40 echo 'True';
41 } else {
42 echo 'False';
44 echo '
46 if (1 >= 2) {
47 echo 'True';
48 } else {
49 echo 'False';
51 echo '
53 if (1 <= 2) {
54 echo 'True';
55 } else {
56 echo 'False';
58 echo '
60 if (1 < 2) {
61 echo 'True';
62 } else {
63 echo 'False';
65 echo '
67 if ($return == TRUE) {
68 return ob_get_clean();