This may not be the right place for this question, please point me at the correct SE site if not.
The PHP Documentation for the function ip2long
states:
Note
Because PHP's integer type is signed, many IP addresses will result in negative integers on 32-bit architectures
Which is fine, however I am little confused if the version of PHP makes a difference?
I am running 64bit Server 2008 with 32bit PHP installed, and I am getting negative integers with some IP addresses. I am clearly running on a 64bit architecture, so this shouldn't be the case according to the (admittedly very vague) documention.
I can only assume that it's because I am running 32bit PHP?? But I can't confirm this anywhere.