From:             rafarataneneces at gmail dot com
Operating system: Cent Os 64bit
PHP version:      5.2.11
PHP Bug Type:     *General Issues
Bug description:  php5.2.11 breaks with <

Description:
------------
PHP breaks when I add "<" to any string

For example

$test="Test<ing";

echo $test

the result would be

Test

Instead of

Testing

This ONLY happens when running using the apache module.

If I run with command line, with the PHP binary, it works ok

Reproduce code:
---------------
$test="Testing<br>\n";
$test.="adding string\n";
$test.="<testing>\n";
echo $test;

Expected result:
----------------
Testing<br>
adding string
<testing>

Actual result:
--------------
Testing
adding string

-- 
Edit bug report at http://bugs.php.net/?id=50322&edit=1
-- 
Try a snapshot (PHP 5.2):            
http://bugs.php.net/fix.php?id=50322&r=trysnapshot52
Try a snapshot (PHP 5.3):            
http://bugs.php.net/fix.php?id=50322&r=trysnapshot53
Try a snapshot (PHP 6.0):            
http://bugs.php.net/fix.php?id=50322&r=trysnapshot60
Fixed in SVN:                        
http://bugs.php.net/fix.php?id=50322&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=50322&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=50322&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=50322&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=50322&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=50322&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=50322&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=50322&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=50322&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=50322&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=50322&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=50322&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=50322&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=50322&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=50322&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=50322&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=50322&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=50322&r=mysqlcfg

Reply via email to