ID: 42767 Updated by: [EMAIL PROTECTED] Reported By: g0rn at mail dot ru -Status: Open +Status: Assigned Bug Type: Unknown/Other Function Operating System: Linux PHP Version: 5.2.4 -Assigned To: +Assigned To: iliaa
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