[PHP] BUG: sprintf(%u) and ip2long

2003-10-14 Thread Daevid Vincent
Could be my not understanding of something, but I think there is a bug in using ip2long() and sprintf(%u) as indicated on this page: http://us4.php.net/manual/en/function.ip2long.php Look at the example below: //this conversion seems broken // $startIP_long =

Re: [PHP] BUG: sprintf(%u) and ip2long

2003-10-14 Thread Curt Zirzow
* Thus wrote Daevid Vincent ([EMAIL PROTECTED]): Could be my not understanding of something, but I think there is a bug in using ip2long() and sprintf(%u) as indicated on this page: http://us4.php.net/manual/en/function.ip2long.php What version of php? It works find in 4.3.3. echo

RE: [PHP] BUG: sprintf(%u) and ip2long

2003-10-14 Thread Daevid Vincent
, 2003 2:25 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] BUG: sprintf(%u) and ip2long * Thus wrote Daevid Vincent ([EMAIL PROTECTED]): Could be my not understanding of something, but I think there is a bug in using ip2long() and sprintf(%u) as indicated on this page: http://us4.php.net

Re: [PHP] BUG: sprintf(%u) and ip2long

2003-10-14 Thread Curt Zirzow
* Thus wrote Daevid Vincent ([EMAIL PROTECTED]): Good point... v4.1.2, Linux stripples.devel.redhat.com 2.4.18-11smp #1 SMP Thu Aug 15 06:41:59 EDT 2002 i686 unknown This program makes use of the Zend Scripting Language Engine: Zend Engine v1.1.1, Copyright (c) 1998-2001 Zend Technologies