Bug #61256 [Opn->Nab]: Hex numbers parsing error
| From: | pierrick@php.net | Date: | Sat, 03 Mar 2012 14:56:25 +0000 |
| Subject: | Bug #61256 [Opn->Nab]: Hex numbers parsing error | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-168070@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=61256&edit=1
ID: 61256
Updated by: pierrick@php.net
Reported by: balancer at balancer dot ru
Summary: Hex numbers parsing error
-Status: Open
+Status: Not a bug
Type: Bug
Package: Scripting Engine problem
Operating System: Gentoo Linux
PHP Version: 5.3.10
Block user comment: N
Private report: N
New Comment:
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same.
Thank you for your interest in PHP.
This bug is the same as #61095 which was fixed.
Previous Comments:
------------------------------------------------------------------------
[2012-03-02 23:15:08] balancer at balancer dot ru
Description:
------------
Incorrect parsing 0xNN numbers with operators
Test script:
---------------
$ php -r 'var_dump(0x0+1);'
int(2)
$ php -r 'var_dump(0x0 + 1);'
int(1)
$ php -r 'var_dump(0x0+10);'
int(26)
$ php -r 'var_dump(0x0 + 10);'
int(10)
$ php -r 'var_dump(0x0-10);'
int(-26)
$ php -r 'var_dump(0x0 - 10);'
int(-10)
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=61256&edit=1