Annotation of embedaddon/php/tests/lang/short_tags.004.phpt, revision 1.1.1.2

1.1       misho       1: --TEST--
                      2: short_open_tag: Off, asp_tags: Off
                      3: --INI--
                      4: short_open_tag=off
                      5: asp_tags=off
                      6: --FILE--
                      7: <%= 'so should this' %>
                      8: 
                      9: <?php
                     10: $a = 'This gets echoed twice';
                     11: ?>
                     12: 
                     13: <?= $a?>
                     14: 
                     15: <%= $a%>
                     16: 
                     17: <? $b=3; ?>
                     18: 
                     19: <?php
                     20:    echo "{$b}";
                     21: ?>
1.1.1.2 ! misho      22: <?= "{$b}"?>
1.1       misho      23: --EXPECTF--
                     24: <%= 'so should this' %>
                     25: 
                     26: 
1.1.1.2 ! misho      27: This gets echoed twice
1.1       misho      28: <%= $a%>
                     29: 
                     30: <? $b=3; ?>
                     31: 
                     32: 
                     33: Notice: Undefined variable: b in %s on line %d
1.1.1.2 ! misho      34: 
        !            35: Notice: Undefined variable: b in %s on line %d

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>