3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ip_hex = 0xC0A8071B; $ip_octet = long2ip($ip_hex); $ip_num = ip2long($ip_octet); echo 'IP Octet: ', $ip_octet; echo 'IP Hex: ', $ip_num, $ip_hex;
Output for git.master, git.master_jit, rfc.property-hooks
IP Octet: 192.168.7.27IP Hex: 32322373393232237339

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:
44.49 ms | 401 KiB | 8 Q