File:
[ELWIX - Embedded LightWeight unIX -] /
embedaddon /
php /
tests /
lang /
short_tags.003.phpt
Revision
1.1.1.1 (vendor branch):
download - view:
text,
annotated -
select for diffs -
revision graph
Tue Feb 21 23:48:06 2012 UTC (12 years, 4 months ago) by
misho
Branches:
php,
MAIN
CVS tags:
v5_4_3elwix,
v5_4_29p0,
v5_4_29,
v5_4_20p0,
v5_4_20,
v5_4_17p0,
v5_4_17,
v5_3_10,
HEAD
php
1: --TEST--
2: short_open_tag: On, asp_tags: On
3: --INI--
4: short_open_tag=on
5: asp_tags=on
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: --EXPECT--
25: this should get echoed
26: so should this
27:
28: This gets echoed twice
29: This gets echoed twice
30:
31: 3
32:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>