Return to short_tags.004.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / tests / lang |
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