mirror of
https://github.com/php/php-src.git
synced 2024-11-25 02:44:58 +08:00
Fixed test for decoupled <?= as of r311260
This commit is contained in:
parent
327a87fdd9
commit
331a30997a
@ -4,8 +4,6 @@ short_open_tag: Off, asp_tags: Off
|
|||||||
short_open_tag=off
|
short_open_tag=off
|
||||||
asp_tags=off
|
asp_tags=off
|
||||||
--FILE--
|
--FILE--
|
||||||
<?='this should get echoed'?>
|
|
||||||
|
|
||||||
<%= 'so should this' %>
|
<%= 'so should this' %>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
@ -21,9 +19,8 @@ $a = 'This gets echoed twice';
|
|||||||
<?php
|
<?php
|
||||||
echo "{$b}";
|
echo "{$b}";
|
||||||
?>
|
?>
|
||||||
|
<?= "{$b}"?>
|
||||||
--EXPECTF--
|
--EXPECTF--
|
||||||
<?='this should get echoed'?>
|
|
||||||
|
|
||||||
<%= 'so should this' %>
|
<%= 'so should this' %>
|
||||||
|
|
||||||
|
|
||||||
@ -34,4 +31,6 @@ $a = 'This gets echoed twice';
|
|||||||
<? $b=3; ?>
|
<? $b=3; ?>
|
||||||
|
|
||||||
|
|
||||||
|
Notice: Undefined variable: b in %s on line %d
|
||||||
|
|
||||||
Notice: Undefined variable: b in %s on line %d
|
Notice: Undefined variable: b in %s on line %d
|
||||||
|
Loading…
Reference in New Issue
Block a user