Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #4829

Re: PHP 5.3.9 hex bug?

From "aaa" <aaa@aaaaaaaaaaa.com>
Newsgroups comp.lang.php
Subject Re: PHP 5.3.9 hex bug?
Date 2012-02-16 10:38 +0100
Organization Aioe.org NNTP Server
Message-ID <jhiipg$flp$1@speranza.aioe.org> (permalink)
References <jhgi0p$r76$1@speranza.aioe.org> <jhgr5c$4fm$1@dont-email.me>

Show all headers | View raw


> 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.
I spent like 5 hours trying to figure out what's wrong with my code ;/

-- 
A


Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

PHP 5.3.9 hex bug? "aaa" <aaa@aaaaaaaaaaa.com> - 2012-02-15 16:12 +0100
  Re: PHP 5.3.9 hex bug? tony@mountifield.org (Tony Mountifield) - 2012-02-15 16:36 +0000
  Re: PHP 5.3.9 hex bug? Denis McMahon <denismfmcmahon@gmail.com> - 2012-02-15 16:48 +0000
  Re: PHP 5.3.9 hex bug? "Álvaro G. Vicario" <alvaro.NOSPAMTHANX@demogracia.com.invalid> - 2012-02-15 18:48 +0100
    Re: PHP 5.3.9 hex bug? "aaa" <aaa@aaaaaaaaaaa.com> - 2012-02-16 10:38 +0100
      Re: PHP 5.3.9 hex bug? "Álvaro G. Vicario" <alvaro.NOSPAMTHANX@demogracia.com.invalid> - 2012-02-16 14:08 +0100
    Re: PHP 5.3.9 hex bug? Thomas Mlynarczyk <thomas@mlynarczyk-webdesign.de> - 2012-02-16 12:37 +0100
  Re: PHP 5.3.9 hex bug? "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-02-15 20:00 +0100

csiph-web