Bug #62676 [Opn->Fbk]: Hexadecimal addition not working with spaces
| From: | rasmus@php.net | Date: | Fri, 27 Jul 2012 14:26:15 +0000 |
| Subject: | Bug #62676 [Opn->Fbk]: Hexadecimal addition not working with spaces | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-172275@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=62676&edit=1
ID: 62676
Updated by: rasmus@php.net
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