3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = "re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500\n\toptions=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>\n\tether 00:1e:06:45:2f:70\n\tinet 192.168.42.160 netmask 0xffffff00 broadcast 192.168.42.255\n\tmedia: Ethernet autoselect (1000baseT <full-duplex>)\n\tstatus: active\n\tnd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>\nlo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384\n\toptions=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>\n\tinet6 ::1 prefixlen 128\n\tinet6 fe80::1%lo0 prefixlen 64 scopeid 0x2\n\tinet 127.0.0.1 netmask 0xff000000\n\tgroups: lo\n\tnd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>\npflog0: flags=141<UP,RUNNING,PROMISC> metric 0 mtu 33160\n\tgroups: pflog\nwg0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1420\n\toptions=80000<LINKSTATE>\n\tinet 10.69.69.1 --> 10.69.69.1 netmask 0xffffffff\n\tgroups: tun\n\tnd6 options=101<PERFORMNUD,NO_DAD>\n\tOpened by PID 747\ntun1: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1500\n\toptions=80000<LINKSTATE>\n\tinet6 fe80::21e:6ff:fe45:2f70%tun1 prefixlen 64 scopeid 0x5\n\tinet 10.8.0.1 --> 10.8.0.2 netmask 0xffffff00\n\tgroups: tun\n\tnd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>\n\tOpened by PID 1295\n"; preg_match("/\b[0-9].*?(?=base)/m", $x, $speed); var_dump($speed);
Output for git.master, git.master_jit, rfc.property-hooks
array(1) { [0]=> string(4) "1000" }

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:
30.77 ms | 405 KiB | 5 Q