ID: 39226 User updated by: jdentel91 at comcast dot net Reported By: jdentel91 at comcast dot net Status: Open Bug Type: Unknown/Other Function Operating System: Apache -PHP Version: 4.4.4 +PHP Version: 4.4.2 New Comment:
Version Previous Comments: ------------------------------------------------------------------------ [2006-10-21 21:49:47] jdentel91 at comcast dot net Description: ------------ I tried to use highlight_file() to highlight a file that includes a lot of str_replace(). It has place many of them into one, with two of the first value, the second value is only one, and the third is the same for them all. This disrupts the displaying of the code. Reproduce code: --------------- http://www.chaoticscripters.com/class.php Expected result: ---------------- The code above is the problem. It is displaying the file with 129 lines of $txt = str_replace('a', '&a;', $text); about half of them placed together so it has 2 lines in one. Actual result: -------------- Look at the URL for the result. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=39226&edit=1
