3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Everything you enter here will be executed by our servers. Try it! $ips = array( "1.1.011.011", "127.0.0.1", "1.1.071.071", "0.0.0.0", "1.1.081.081", "192.168.0.0", "256.0.0.1", "192.168.0xa.5", ); foreach($ips as $ip) { var_dump(ip2long($ip)); }

preferences:
56.92 ms | 402 KiB | 5 Q