mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
- Fix tests after change to highlight_string()
This commit is contained in:
parent
337b23bd93
commit
f954677e54
3 changed files with 9 additions and 9 deletions
|
@ -14,6 +14,6 @@ DDDD;
|
||||||
highlight_string($str);
|
highlight_string($str);
|
||||||
?>
|
?>
|
||||||
--EXPECT--
|
--EXPECT--
|
||||||
<code><font color="#000000">
|
<code><span style="color: #000000">
|
||||||
<br />$x=<<<DD<br />jhdsjkfhjdsh<br />DD<br />."";<br />$a=<<<DDDD<br />jhdsjkfhjdsh<br />DDDD;<br /></font>
|
<br />$x=<<<DD<br />jhdsjkfhjdsh<br />DD<br />."";<br />$a=<<<DDDD<br />jhdsjkfhjdsh<br />DDDD;<br /></span>
|
||||||
</code>
|
</code>
|
||||||
|
|
|
@ -16,9 +16,9 @@ $var = highlight_string("<br /><?php echo \"bar\"; ?><br />", TRUE);
|
||||||
echo "\n[$var]\n";
|
echo "\n[$var]\n";
|
||||||
?>
|
?>
|
||||||
--EXPECT--
|
--EXPECT--
|
||||||
<code><font color="#000000">
|
<code><span style="color: #000000">
|
||||||
<br /><font color="#0000BB"><?php </font><font color="#007700">echo </font><font color="#DD0000">"foo"</font><font color="#007700">; </font><font color="#0000BB">?></font><br /></font>
|
<br /><span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #DD0000">"foo"</span><span style="color: #007700">; </span><span style="color: #0000BB">?></span><br /></span>
|
||||||
</code>
|
</code>
|
||||||
[<code><font color="#000000">
|
[<code><span style="color: #000000">
|
||||||
<br /><font color="#0000BB"><?php </font><font color="#007700">echo </font><font color="#DD0000">"bar"</font><font color="#007700">; </font><font color="#0000BB">?></font><br /></font>
|
<br /><span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #DD0000">"bar"</span><span style="color: #007700">; </span><span style="color: #0000BB">?></span><br /></span>
|
||||||
</code>]
|
</code>]
|
||||||
|
|
|
@ -12,7 +12,7 @@ highlight.html=#000000
|
||||||
highlight_string('<?php echo "foo[] $a \n"; ?>');
|
highlight_string('<?php echo "foo[] $a \n"; ?>');
|
||||||
?>
|
?>
|
||||||
--EXPECT--
|
--EXPECT--
|
||||||
<code><font color="#000000">
|
<code><span style="color: #000000">
|
||||||
<font color="#0000BB"><?php </font><font color="#007700">echo </font><font color="#DD0000">"foo[] $a \n"</font><font color="#007700">; </font><font color="#0000BB">?></font>
|
<span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #DD0000">"foo[] $a \n"</span><span style="color: #007700">; </span><span style="color: #0000BB">?></span>
|
||||||
</font>
|
</span>
|
||||||
</code>
|
</code>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue