Annotation of embedaddon/php/tests/lang/short_tags.004.phpt, revision 1.1.1.1
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: <?='this should get echoed'?>
8:
9: <%= 'so should this' %>
10:
11: <?php
12: $a = 'This gets echoed twice';
13: ?>
14:
15: <?= $a?>
16:
17: <%= $a%>
18:
19: <? $b=3; ?>
20:
21: <?php
22: echo "{$b}";
23: ?>
24: --EXPECTF--
25: <?='this should get echoed'?>
26:
27: <%= 'so should this' %>
28:
29:
30: <?= $a?>
31:
32: <%= $a%>
33:
34: <? $b=3; ?>
35:
36:
37: Notice: Undefined variable: b in %s on line %d
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>