summaryrefslogtreecommitdiff
path: root/Zend/tests/bug71086.phpt
blob: 3e64f9c13a518f786583cb95a643094edc2166a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--TEST--
Bug #71086: Invalid numeric literal parse error within highlight_string() function
--FILE--
<?php

$highlightedString = highlight_string("<?php \n 09 09 09;", true);
var_dump($highlightedString);

?>
--EXPECT--
string(169) "<code><span style="color: #000000">
<span style="color: #0000BB">&lt;?php&nbsp;<br />&nbsp;09&nbsp;09&nbsp;09</span><span style="color: #007700">;</span>
</span>
</code>"