3v4l.org

run code in 300+ PHP versions simultaneously
<? $ipi = getenv("REMOTE_ADDR"); function encode_ip($ipi) { // First thing to do, split the IP into its quads $ip = explode('.', $ipi); // Now we convert it and return it to the caller for (i=0; i < count($ip); i++) { $ip[i] = dechex($ip[i]); } //join the parts together $IP_ADD = join(".",$ip); } echo $ip; ?>

This is an error 404

There are `0` results


preferences:
164.72 ms | 1399 KiB | 7 Q