]> granicus.if.org Git - php/commitdiff
Fixed test for decoupled <?= as of r311260
authorPhilip Olson <philip@php.net>
Mon, 23 May 2011 23:51:28 +0000 (23:51 +0000)
committerPhilip Olson <philip@php.net>
Mon, 23 May 2011 23:51:28 +0000 (23:51 +0000)
tests/lang/short_tags.004.phpt

index d80e7481a1832f13d806ec5f2276a48d48efe728..f448fa79f71ad67188491fe44fb7261aadb13f00 100644 (file)
@@ -4,8 +4,6 @@ short_open_tag: Off, asp_tags: Off
 short_open_tag=off
 asp_tags=off
 --FILE--
-<?='this should get echoed'?>
-
 <%= 'so should this' %>
 
 <?php
@@ -21,9 +19,8 @@ $a = 'This gets echoed twice';
 <?php
    echo "{$b}";
 ?>
+<?= "{$b}"?>
 --EXPECTF--
-<?='this should get echoed'?>
-
 <%= 'so should this' %>
 
 
@@ -34,4 +31,6 @@ $a = 'This gets echoed twice';
 <? $b=3; ?>
 
 
+Notice: Undefined variable: b in %s on line %d
+
 Notice: Undefined variable: b in %s on line %d