Edit report at http://bugs.php.net/bug.php?id=53145&edit=1

 ID:                 53145
 User updated by:    valdisxp1 at inbox dot lv
 Reported by:        valdisxp1 at inbox dot lv
 Summary:            echo and print cuts the output
 Status:             Open
 Type:               Bug
 Package:            *Regular Expressions
 Operating System:   windows 7/ubuntu linux/any?
-PHP Version:        Irrelevant
+PHP Version:        5.2.4
 Block user comment: N

 New Comment:

I specified the PHP version


Previous Comments:
------------------------------------------------------------------------
[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

Reply via email to