3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(bin2hex(inet_pton('2001:0db8:85a3:08d3:1319:8a2e:0370:7344'))); var_dump(bin2hex(inet_pton('::1'))); var_dump(bin2hex(inet_pton('::ffff:127.0.0.1')));
Output for git.master, git.master_jit, rfc.property-hooks
string(32) "20010db885a308d313198a2e03707344" string(32) "00000000000000000000000000000001" string(32) "00000000000000000000ffff7f000001"

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