#33821 [NEW]: highlight_file and unterminated comment
| From: | php-work at yandex dot ru | Date: | Fri, 22 Jul 2005 12:33:50 +0000 |
| Subject: | #33821 [NEW]: highlight_file and unterminated comment | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-82320@lists.php.net to get a copy of this message | ||
From: php-work at yandex dot ru
Operating system: Windows, Unix
PHP version: 5CVS-2005-07-22 (dev)
PHP Bug Type: *General Issues
Bug description: highlight_file and unterminated comment
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 bug report at http://bugs.php.net/?id=33821&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=33821&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=33821&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=33821&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=33821&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=33821&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=33821&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=33821&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=33821&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=33821&r=support
Expected behavior: http://bugs.php.net/fix.php?id=33821&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=33821&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=33821&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=33821&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=33821&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=33821&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=33821&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=33821&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=33821&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=33821&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=33821&r=mysqlcfg