ID: 42767 Updated by: [EMAIL PROTECTED] Reported By: g0rn at mail dot ru -Status: Assigned +Status: Closed Bug Type: Unknown/Other Function Operating System: Linux PHP Version: 5.2.4 Assigned To: iliaa New Comment:
This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2007-09-26 12:20:11] g0rn at mail dot ru Description: ------------ When I use highlight_string() on unclosed /* comment it doesn't returns anything, after this comment. Reproduce code: --------------- highlight_string('<?php /*some comment..'); highlight_string('<?php some code some code some code /* some comment..'); Expected result: ---------------- In first example it should return: <?php /*some comment.. In second: <?php some code some code some code /* some comment.. Actual result: -------------- In first example it returns: <?php In second it returns: <?php some code some code some code ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=42767&edit=1