3v4l.org

run code in 300+ PHP versions simultaneously
<?php $reserved_ips = array( // not an exhaustive list '167772160' => 184549375, /* 10.0.0.0 - 10.255.255.255 */ '3232235520' => 3232301055, /* 192.168.0.0 - 192.168.255.255 */ '2130706432' => 2147483647, /* 127.0.0.0 - 127.255.255.255 */ '2851995648' => 2852061183, /* 169.254.0.0 - 169.254.255.255 */ '2886729728' => 2887778303, /* 172.16.0.0 - 172.31.255.255 */ '3758096384' => 4026531839, /* 224.0.0.0 - 239.255.255.255 */ ); $ip_long = sprintf('%u', ip2long('10.100.198.181')); echo $ip_long;
Output for git.master, git.master_jit, rfc.property-hooks
174376629

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
55.36 ms | 401 KiB | 8 Q