|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16934 print/echo doesnt work with some char chains
Submitted: 2002-04-30 15:57 UTC Modified: 2002-05-02 06:31 UTC
From: php at 5en1 dot com Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 4.2.0 OS: Windows 2000 Pro
Private report: No CVE-ID: None
 [2002-04-30 15:57 UTC] php at 5en1 dot com

i've found a small bug in most used functions : print and echo
under windows (config by easyphp 1.6 : php 4.2.0 ..., when i type this small script :

print("<a href=\"index.php\">-14 jours</a>");

php send me (source of the page) :
<a href="index.php">-14 jour></a>

when i delete the "-" or the "</a>" the bug stop to appear

this bug appear with echo too

excuse me for my bad english :)

bye !


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-05-02 06:31 UTC]
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sat Sep 23 10:01:24 2023 UTC