"that's a curious choice, to represent IPs as a long; why would you do that."

"oh, it's a standard PHP function? ok, sure, gives you a unique representation for IP suitable for indexing arrays or whatever, but why a long and not the hex translation"

"oh no it's from C"

"oh no it's from AIX"

PHP: ip2long - Manual

PHP is a popular general-purpose scripting language that powers everything from your blog to the most popular websites in the world.

you can tell when it's low tide by the decaying stank of the C

it's a 32-bit value

that errors on quad-255

because that overflows the long.

y'all.

FFFFFFFF is 8 hexits.

PHP -has- a hex int type.

c'mon.

@munin lmaooooooooo

@gewt

-so much legacy- in this shit

no wonder that place was Like That; this is the equivalent of lead plumbing lol