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);

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.5.20.0110.00620.12
8.5.10.0110.01418.51
8.5.00.0100.01220.15
8.4.170.0100.01122.51
8.4.160.0060.00420.35
8.4.150.0030.00014.05
8.4.140.0140.00717.43
8.4.130.0090.00717.85
8.4.120.0150.00620.27
8.4.110.0080.00722.55
8.4.100.0150.00617.73
8.4.90.0090.01120.36
8.4.80.0060.00517.58
8.4.70.0030.00517.80
8.4.60.0130.00820.30
8.4.50.0150.00818.11
8.4.40.0140.00719.70
8.4.30.0040.01520.14
8.4.20.0130.00719.83
8.4.10.0000.00820.61
8.3.300.0100.01120.97
8.3.290.0110.00920.72
8.3.280.0140.00718.31
8.3.270.0130.00816.47
8.3.260.0110.00816.72
8.3.250.0040.00418.68
8.3.240.0060.00316.69
8.3.230.0100.00916.66
8.3.220.0110.00817.30
8.3.210.0050.00316.45
8.3.200.0060.00316.65
8.3.190.0070.00916.88
8.3.180.0130.00618.59
8.3.170.0030.01518.73
8.3.160.0120.00618.28
8.3.150.0050.00320.75
8.3.140.0050.00316.49
8.3.130.0000.00816.53
8.3.120.0080.00018.71
8.3.110.0080.00818.36
8.3.100.0100.00016.50
8.3.90.0060.00318.32
8.3.80.0060.00319.36
8.3.70.0150.00018.30
8.3.60.0120.00916.38
8.3.50.0230.00723.54
8.3.40.0130.00721.63
8.3.30.0120.00418.72
8.3.20.0080.00024.18
8.3.10.0020.00524.66
8.3.00.0050.00326.16
8.2.300.0130.00722.05
8.2.290.0120.00720.13
8.2.280.0070.00818.31
8.2.270.0110.00717.55
8.2.260.0070.01019.20
8.2.250.0000.00816.84
8.2.240.0080.00016.68
8.2.230.0060.00320.94
8.2.220.0080.00024.06
8.2.210.0080.00026.77
8.2.200.0060.00316.48
8.2.190.0070.00716.88
8.2.180.0130.00725.92
8.2.170.0070.00719.09
8.2.160.0060.00922.96
8.2.150.0070.00025.66
8.2.140.0000.00724.66
8.2.130.0040.00426.16
8.2.120.0070.00026.35
8.2.110.0060.00320.94
8.2.100.0060.00619.57
8.2.90.0000.00817.88
8.2.80.0080.00018.91
8.2.70.0040.00417.75
8.2.60.0000.00817.80
8.2.50.0000.00818.05
8.2.40.0040.00418.22
8.2.30.0000.00718.03
8.2.20.0040.00417.95
8.2.10.0070.00019.13
8.2.00.0000.00719.08
8.1.340.0130.00721.73
8.1.330.0120.00621.96
8.1.320.0100.01116.53
8.1.310.0030.00516.69
8.1.300.0090.00616.82
8.1.290.0030.00618.88
8.1.280.0130.00925.92
8.1.270.0040.00423.99
8.1.260.0080.01228.09
8.1.250.0150.00428.09
8.1.240.0090.00022.23
8.1.230.0060.00617.70
8.1.220.0080.00017.74
8.1.210.0030.00518.77
8.1.200.0030.00617.35
8.1.190.0040.00417.48
8.1.180.0050.00318.10
8.1.170.0040.00418.57
8.1.160.0020.00518.86
8.1.150.0060.00318.90
8.1.140.0000.00718.86
8.1.130.0040.00421.80
8.1.120.0040.00417.57
8.1.110.0060.00317.58
8.1.100.0000.00717.59
8.1.90.0040.00417.55
8.1.80.0000.00717.58
8.1.70.0070.00017.43
8.1.60.0080.00017.60
8.1.50.0050.00317.54
8.1.40.0030.00617.56
8.1.30.0000.00717.69
8.1.20.0000.00817.64
8.1.10.0000.00917.62
8.1.00.0000.00817.60
8.0.300.0000.00718.77
8.0.290.0060.00316.88
8.0.280.0030.00320.13
8.0.270.0000.00718.00
8.0.260.0000.00720.20
8.0.250.0030.00317.01
8.0.240.0000.00617.04
8.0.230.0030.00316.91
8.0.220.0000.00616.93
8.0.210.0070.00016.99
8.0.200.0000.00617.00
8.0.190.0040.00417.04
8.0.180.0040.00416.89
8.0.170.0040.00416.95
8.0.160.0040.00416.98
8.0.150.0000.00816.93
8.0.140.0070.00016.84
8.0.130.0000.00713.44
8.0.120.0050.00316.96
8.0.110.0070.00017.01
8.0.100.0040.00416.80
8.0.90.0050.00216.77
8.0.80.0050.01216.98
8.0.70.0000.00816.86
8.0.60.0040.00417.02
8.0.50.0000.00717.00
8.0.30.0000.02017.12
8.0.20.0070.01217.13
8.0.10.0060.00317.14
8.0.00.0110.00716.92
7.4.330.0000.00515.55
7.4.320.0000.00716.64
7.4.300.0030.00516.67
7.4.290.0030.00316.75
7.4.280.0050.00516.66
7.4.270.0000.00716.75
7.4.260.0030.00313.45
7.4.250.0030.00316.51
7.4.240.0000.00716.69
7.4.230.0040.00416.76
7.4.220.0040.00416.55
7.4.210.0090.00916.71
7.4.200.0070.00016.66
7.4.130.0160.00516.73
7.4.120.0070.01116.64
7.4.110.0000.01816.75
7.4.100.0060.01216.75
7.4.90.0180.00016.55
7.4.80.0120.00916.70
7.4.70.0090.00916.63
7.4.60.0150.00416.61
7.4.50.0040.01416.75
7.4.40.0060.01216.65
7.4.30.0040.01416.54
7.4.20.0060.01216.43
7.4.10.0180.00016.29
7.4.00.0070.01116.62
7.3.330.0000.00716.14
7.3.320.0030.00313.04
7.3.310.0030.00516.18
7.3.300.0000.00716.29
7.3.290.0050.00916.29
7.3.260.0100.00616.29
7.3.230.0030.01316.51
7.3.220.0030.01516.43
7.3.210.0070.01016.33
7.3.200.0130.00916.69
7.3.190.0060.01216.63
7.3.180.0090.00916.33
7.3.170.0140.00916.53
7.3.160.0100.00716.54
7.3.150.0060.01216.47
7.3.140.0100.00616.61
7.3.130.0100.01016.07
7.3.120.0040.01316.11
7.3.110.0130.00316.36
7.3.100.0130.00916.29
7.3.90.0100.00716.36
7.3.80.0100.01016.16
7.3.70.0060.00916.46
7.3.60.0170.00716.39
7.3.50.0040.01216.32
7.3.40.0100.00716.43
7.3.30.0060.01116.43
7.3.20.0300.01016.39
7.3.10.0130.00416.30
7.3.00.0030.01316.52
7.2.340.0070.01016.37
7.2.330.0090.00916.57
7.2.320.0170.00716.53
7.2.310.0120.01216.52
7.2.300.0060.01816.35
7.2.290.0070.01016.58
7.2.280.0170.00016.58
7.2.270.0100.00716.67
7.2.260.0170.00016.43
7.2.250.0130.00316.44
7.2.240.0130.00316.61
7.2.230.0100.01316.66
7.2.220.0090.00916.48
7.2.210.0100.00716.37
7.2.200.0140.00416.54
7.2.190.0100.00716.34
7.2.180.0120.00616.70
7.2.170.0090.00916.55
7.2.160.0070.01016.52
7.2.150.0100.00716.68
7.2.140.0030.01316.53
7.2.130.0030.01516.70
7.2.120.0090.00916.61
7.2.110.0120.00616.50
7.2.100.0100.01016.61
7.2.90.0090.00916.55
7.2.80.0120.00616.55
7.2.70.0070.01016.68
7.2.60.0100.00716.63
7.2.50.0090.00916.57
7.2.40.0180.00016.75
7.2.30.0120.00616.79
7.2.20.0100.00716.60
7.2.10.0090.00916.63
7.2.00.0140.00316.67

preferences:
31.98 ms | 403 KiB | 5 Q