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

 ID:                 62676
 Updated by:         [email protected]
 Reported by:        heiccih at gmail dot com
 Summary:            Hexadecimal addition not working with spaces
-Status:             Open
+Status:             Feedback
 Type:               Bug
 Package:            Math related
 Operating System:   Ubuntu 12.04
 PHP Version:        5.3.15
 Block user comment: N
 Private report:     N

 New Comment:

Are you sure about the PHP version you reported here? This was fixed in PHP 
5.3.11 as per bug #61095


Previous Comments:
------------------------------------------------------------------------
[2012-07-27 11:35:27] heiccih at gmail dot com

Description:
------------
With spaces the hexadecimal number add does not print the same result than with 
no spaces in the script 

Test script:
---------------
<?php
echo 0x00+0x02;
echo "\n";
echo 0x00 + 0x02;
?>

Expected result:
----------------
The following output:
2
2

Actual result:
--------------
The following output:
4
2



------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=62676&edit=1

Reply via email to