Bug #53145 [Opn->Bgs]: echo and print cuts the output
| From: | cataphract@php.net | Date: | Sun, 24 Oct 2010 17:39:43 +0000 |
| Subject: | Bug #53145 [Opn->Bgs]: echo and print cuts the output | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-155480@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=53145&edit=1
ID: 53145
Updated by: cataphract@php.net
Reported by: valdisxp1 at inbox dot lv
Summary: echo and print cuts the output
-Status: Open
+Status: Bogus
Type: Bug
Package: *Regular Expressions
Operating System: windows 7/ubuntu linux/any?
PHP Version: 5.2.4
Block user comment: N
New Comment:
Sorry, but 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 as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
The output is there; probably your browser isn't showing it. See
htmlspecialchars().
Previous Comments:
------------------------------------------------------------------------
[2010-10-24 16:51:53] valdisxp1 at inbox dot lv
I specified the PHP version
------------------------------------------------------------------------
[2010-10-24 16:46:43] valdisxp1 at inbox dot lv
Description:
------------
echo and print cuts the output when introduced with a "<" not following
a ">" in
a variable printed
Test script:
---------------
<?php
$simb="this is broken<NOT";
echo " $simb>";//works with > following
print($simb.">");
echo " $simb";//FAILS
print($simb." ");
?>
Expected result:
----------------
this is broken<NOT>this is broken<NOT> this is broken<NOTthis is
broken<NOT
Actual result:
--------------
this is broken<NOT>this is broken<NOT> this is broken
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=53145&edit=1