Edit report at https://bugs.php.net/bug.php?id=62676&edit=1
ID: 62676 Updated by: php-bugs@lists.php.net Reported by: heiccih at gmail dot com Summary: Hexadecimal addition not working with spaces -Status: Feedback +Status: No Feedback Type: Bug Package: Math related Operating System: Ubuntu 12.04 PHP Version: 5.3.15 New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. Previous Comments: ------------------------------------------------------------------------ [2012-07-27 14:26:15] ras...@php.net Are you sure about the PHP version you reported here? This was fixed in PHP 5.3.11 as per bug #61095 ------------------------------------------------------------------------ [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