3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tests=[ "207.142.131.005", // 207.142.XXX.XXX "2001:0db8:0000:08d3:0000:8a2e:0070:7344", // 2001:0db8:0000:08d3:0000:8a2e:XXXX:XXXX "207.142.131.5", // 207.142.XXX.XXX "2001:0db8::8d3::8a2e:7:7344", // 2001:0db8::8d3::8a2e:XXXX:XXXX "::1", // :XXXX:XXXX "127.0.0.1" // 127.0.XXX.XXX ]; $tests=preg_replace(['/\d*:\d*$/','/\d*$/'],['XXXX:XXXX','XXXX'],$tests); var_export($tests);
Output for git.master, git.master_jit, rfc.property-hooks
array ( 0 => '207.142.131.XXXXXXXX', 1 => '2001:0db8:0000:08d3:0000:8a2e:XXXX:XXXXXXXX', 2 => '207.142.131.XXXXXXXX', 3 => '2001:0db8::8d3::8a2e:XXXX:XXXXXXXX', 4 => ':XXXX:XXXXXXXX', 5 => '127.0.0.XXXXXXXX', )

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