#3810 [Opn->Bgs]: Highlight_String() error
| From: | hholzgra@php.net | Date: | Tue, 01 Oct 2002 18:39:39 +0000 |
| Subject: | #3810 [Opn->Bgs]: Highlight_String() error | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-21029@lists.php.net to get a copy of this message | ||
ID: 3810
Updated by: hholzgra@php.net
Reported By: gene@cinci.rr.com
-Status: Open
+Status: Bogus
Bug Type: Misbehaving function
Operating System: Linux
PHP Version: 3.0.15
New Comment:
Sorry, but the bug system is not the appropriate forum for asking
support questions. Your problem does not imply a bug in PHP itself.
For a list of more appropriate places to ask for help using PHP,
please visit http://www.php.net/support.php
Thank you for your interest in PHP.
highlight_string already writes the output itself,
by echoing its result you add the '1' if the function returend true
Previous Comments:
------------------------------------------------------------------------
[2000-03-11 18:50:42] gene@cinci.rr.com
<?
//let's say that test.php is a php script
echo highlight_string("link.php");
?>
Notice how at the end of parsing/highlighting the string, it prints a
1, i'm sure this is a debug error. Please fix, thanks.
-original from #php
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=3810&edit=1