php.net |  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: php at 5en1 dot com
New email:
PHP Version: OS:

 

 [2002-04-30 15:57 UTC] php at 5en1 dot com
hi!

i've found a small bug in most used functions : print and echo
under windows (config by easyphp 1.6 : php 4.2.0 ... www.easyphp.org), 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 !

Patches

Pull Requests

History

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

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

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 16:01:28 2024 UTC