3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tag = "MU"; $string = 'D109 MU, worked from home today Walked the dog, later took the kids to swimming. D110 MU. Went to the gym in the evening for the 9th time this month.'; var_export(preg_match_all("~D\K\d+(?= $tag)~", $string, $out) ? $out[0] : 'fail');

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.3.130.0030.00616.51
8.3.120.0080.00018.74
8.3.110.0040.00420.94
8.3.100.0030.00616.63
8.3.90.0080.00026.77
8.3.80.0030.00616.63
8.3.70.0240.00716.58
8.3.60.0110.00418.30
8.3.50.0050.00917.20
8.3.40.0060.00918.95
8.3.30.0060.01019.01
8.3.20.0050.00318.90
8.3.10.0050.00223.61
8.3.00.0070.00021.23
8.2.250.0030.00616.95
8.2.240.0040.00418.88
8.2.230.0060.00322.58
8.2.220.0030.00724.06
8.2.210.0040.00426.77
8.2.200.0110.00016.50
8.2.190.0110.01116.88
8.2.180.0120.00616.75
8.2.170.0110.00422.96
8.2.160.0030.01020.51
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0000.00719.77
8.2.120.0000.00826.35
8.2.110.0040.00421.24
8.2.100.0090.00318.03
8.2.90.0040.00418.09
8.2.80.0060.00317.97
8.2.70.0080.00018.04
8.2.60.0050.00318.28
8.2.50.0040.00418.10
8.2.40.0040.00419.42
8.2.30.0080.00019.43
8.2.20.0000.00718.03
8.2.10.0070.00018.00
8.2.00.0040.00417.61
8.1.300.0050.00316.21
8.1.290.0060.00318.88
8.1.280.0120.00325.92
8.1.270.0000.00823.86
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0080.00023.88
8.1.230.0080.00620.73
8.1.220.0000.00917.79
8.1.210.0090.00018.77
8.1.200.0100.00317.48
8.1.190.0060.00317.38
8.1.180.0000.00818.10
8.1.170.0040.00418.59
8.1.160.0000.00718.90
8.1.150.0000.00718.65
8.1.140.0040.00417.45
8.1.130.0000.00720.10
8.1.120.0000.00717.54
8.1.110.0040.00417.60
8.1.100.0070.00017.47
8.1.90.0040.00417.56
8.1.80.0050.00517.38
8.1.70.0000.00717.52
8.1.60.0040.00417.56
8.1.50.0050.00317.63
8.1.40.0020.00517.68
8.1.30.0000.00917.78
8.1.20.0070.00017.74
8.1.10.0080.00017.63
8.1.00.0040.00417.71
8.0.300.0070.00019.71
8.0.290.0070.00016.75
8.0.280.0050.00318.45
8.0.270.0040.00416.96
8.0.260.0030.00320.18
8.0.250.0040.00417.05
8.0.240.0040.00417.07
8.0.230.0050.00516.98
8.0.220.0060.00317.02
8.0.210.0040.00417.12
8.0.200.0000.00617.09
8.0.190.0050.00217.01
8.0.180.0000.00717.12
8.0.170.0060.00617.09
8.0.160.0040.00417.06
8.0.150.0030.00616.97
8.0.140.0030.00317.02
8.0.130.0000.00713.46
8.0.120.0000.00716.96
8.0.110.0040.00416.95
8.0.100.0040.00417.05
8.0.90.0040.00316.90
8.0.80.0060.00917.03
8.0.70.0040.00416.95
8.0.60.0080.00017.08
8.0.50.0000.00817.04
8.0.30.0110.00817.08
8.0.20.0080.01017.41
8.0.10.0040.00417.06
8.0.00.0090.00916.88
7.4.330.0000.00515.55
7.4.320.0000.00616.74
7.4.300.0040.00516.79
7.4.290.0070.00016.55
7.4.280.0000.00816.79
7.4.270.0000.00716.76
7.4.260.0000.00916.76
7.4.250.0040.00416.54
7.4.240.0040.00416.66
7.4.230.0070.00016.82
7.4.220.0040.00416.63
7.4.210.0110.00316.73
7.4.200.0000.00816.59
7.4.160.0130.00716.70
7.4.140.0090.01017.86
7.4.130.0100.01316.55
7.4.120.0120.00816.70
7.4.110.0170.00716.70
7.4.100.0160.00616.67
7.4.90.0090.00916.75
7.4.80.0080.01119.39
7.4.70.0160.00316.71
7.4.60.0000.01616.59
7.4.50.0130.00316.67
7.4.40.0060.01216.50
7.4.00.0000.01515.00
7.3.330.0030.00313.02
7.3.320.0050.00013.26
7.3.310.0030.00316.29
7.3.300.0080.00016.39
7.3.290.0000.00816.41
7.3.280.0100.00616.46
7.3.260.0110.01116.49
7.3.240.0080.00916.51
7.3.230.0060.01216.53
7.3.210.0150.00016.82
7.3.200.0120.00416.76
7.3.190.0120.00316.53
7.3.180.0040.01116.66
7.3.170.0060.01016.67
7.3.160.0080.01016.47
7.3.10.0100.01016.50
7.3.00.0170.00716.80
7.2.330.0060.01216.75
7.2.320.0180.00616.73
7.2.310.0150.00616.73
7.2.300.0060.00916.84
7.2.290.0100.00716.68
7.2.130.0090.00917.06
7.2.120.0110.01116.60
7.2.110.0380.01215.94
7.2.100.0400.01315.82
7.2.90.0470.00515.75
7.2.80.0410.01015.76
7.2.70.0530.01215.90
7.2.60.0440.01415.55
7.2.50.0480.00815.91
7.2.40.1250.00515.89
7.2.30.0520.00715.65
7.2.20.0430.01116.01
7.2.10.0480.00715.77
7.2.00.0570.00816.02
7.1.250.0150.00715.59
7.1.230.0760.00714.15
7.1.220.0740.00614.06
7.1.210.0830.00314.07
7.1.200.0770.00614.03
7.1.190.0860.00614.13
7.1.180.0830.01013.84
7.1.170.0770.00614.20
7.1.160.0800.00914.01
7.1.150.0830.00313.90
7.1.140.1010.00714.09
7.1.130.1060.00614.15
7.1.120.0830.01014.06
7.1.110.0930.00314.15
7.1.100.0910.00314.15
7.1.90.0970.00313.60
7.1.80.1110.01314.10
7.1.70.1140.01013.84
7.1.60.1090.01031.81
7.1.50.1270.00731.83
7.1.40.1080.00731.98
7.1.30.1060.01031.66
7.1.20.1070.01031.70
7.1.10.0830.00713.75
7.1.00.0790.00713.79
5.6.380.0060.00914.02

preferences:
28.85 ms | 403 KiB | 5 Q