Bug #51920 [Bgs]: ip2long result depends on platform
| From: | salathe@php.net | Date: | Wed, 26 May 2010 15:13:18 +0000 |
| Subject: | Bug #51920 [Bgs]: ip2long result depends on platform | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-150850@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=51920&edit=1
ID: 51920
Updated by: salathe@php.net
Reported by: olafvdspek at gmail dot com
Summary: ip2long result depends on platform
Status: Bogus
Type: Bug
Package: Network related
Operating System: Debian x64
PHP Version: 5.3.2
New Comment:
So what are you requesting? That ip2long returns a string representation
of the
number, or a float? Of which value 3221234342 or -107373295?
Previous Comments:
------------------------------------------------------------------------
[2010-05-26 15:25:29] olafvdspek at gmail dot com
I know perfectly well what an unsigned int is.
------------------------------------------------------------------------
[2010-05-26 15:06:10] pajoye@php.net
So no, you don't know what an unsigned integer value is. Please ask
support in one of the numerous php support channels.
------------------------------------------------------------------------
[2010-05-26 13:11:53] olafvdspek at gmail dot com
I'm asking for ip2long to return the same (negative) values on all
platforms.
------------------------------------------------------------------------
[2010-05-26 13:10:26] pajoye@php.net
So what are you asking then? That's exactly what you are experiencing.
There is no bug.
------------------------------------------------------------------------
[2010-05-26 12:45:09] olafvdspek at gmail dot com
I know how to print an uint, that's not my question!
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/bug.php?id=51920
--
Edit this bug report at http://bugs.php.net/bug.php?id=51920&edit=1