mirror of
https://github.com/php/php-src.git
synced 2024-12-21 16:00:18 +08:00
15 lines
404 B
PHP
15 lines
404 B
PHP
--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"><?php <br /> </span><span style="color: #007700">09 09 09;</span>
|
|
</span>
|
|
</code>"
|