FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » PHP 5.3.9 hex bug?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: PHP 5.3.9 hex bug? [message #177018 is a reply to message #177012] Thu, 16 February 2012 13:08 Go to previous messageGo to previous message
alvaro.NOSPAMTHANX is currently offline  alvaro.NOSPAMTHANX
Messages: 277
Registered: September 2010
Karma:
Senior Member
El 16/02/2012 10:38, aaa escribió/wrote:
>> It's really funny:
>>
>> var_dump(0x0 + 2, 0x0+ 2, 0x0+2, 0x0 +2);
>>
>> ... prints:
>>
>> int(2)
>> int(2)
>> int(4)
>> int(4)
>>
>> No idea of what's going on but it only seems to affect hexadecimal zero so
>> at least there's an obvious workaround.
>
> Yeah. I already reported that bug to PHP guys, so perhaps 5.2.11 will have
> it fixed.

And it seems it's a valid bug: https://bugs.php.net/bug.php?id=61095



--
-- http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
-- Mi sitio sobre programación web: http://borrame.com
-- Mi web de humor satinado: http://www.demogracia.com
--
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: session array not available in popup?
Next Topic: website management
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 30 07:47:56 GMT 2024

Total time taken to generate the page: 0.13583 seconds