#33821 [Opn->Bgs]: highlight_file and unterminated comment
| From: | sniper@php.net | Date: | Fri, 22 Jul 2005 12:47:46 +0000 |
| Subject: | #33821 [Opn->Bgs]: highlight_file and unterminated comment | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-82321@lists.php.net to get a copy of this message | ||
ID: 33821
Updated by: sniper@php.net
Reported By: php-work at yandex dot ru
-Status: Open
+Status: Bogus
Bug Type: *General Issues
Operating System: Windows, Unix
PHP Version: 5CVS-2005-07-22 (dev)
New Comment:
That clearly is unterminated, nothing wrong here.
Previous Comments:
------------------------------------------------------------------------
[2005-07-22 14:33:49] php-work at yandex dot ru
Description:
------------
Function highlight_file(file) prints error "Warning: Unterminated
comment starting line 1" if in 'file':
<? /*
Reproduce code:
---------------
hl.php:
<?php
highlight_file("test.txt");
?>
test.txt:
<? /*
Actual result:
--------------
<code><span style="color: #000000">
<span style="color: #0000BB"><? <br />
<b>Warning</b>: Unterminated comment starting line 1 in
<b>c:\pub\hl.php</b> on line <b>2</b><br />
</span>
</span>
</code>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=33821&edit=1