3v4l.org

run code in 300+ PHP versions simultaneously
<?php $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+~', $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.0110.00716.78
8.3.120.0130.00318.94
8.3.110.0080.00020.94
8.3.100.0060.00316.76
8.3.90.0040.00426.77
8.3.80.0030.00619.36
8.3.70.0110.00416.75
8.3.60.0150.00018.56
8.3.50.0130.00617.47
8.3.40.0090.00619.00
8.3.30.0040.01118.96
8.3.20.0030.00618.76
8.3.10.0080.00023.84
8.3.00.0040.00421.36
8.2.250.0030.00616.95
8.2.240.0060.00617.11
8.2.230.0080.00022.58
8.2.220.0080.00024.06
8.2.210.0080.00026.77
8.2.200.0030.00718.88
8.2.190.0140.00718.30
8.2.180.0070.01316.88
8.2.170.0120.00322.96
8.2.160.0000.01420.39
8.2.150.0050.00224.18
8.2.140.0050.00324.66
8.2.130.0070.00026.16
8.2.120.0040.00421.25
8.2.110.0070.00321.12
8.2.100.0040.00817.93
8.2.90.0060.00319.05
8.2.80.0090.00017.97
8.2.70.0030.00617.75
8.2.60.0040.00418.03
8.2.50.0080.00318.07
8.2.40.0000.00920.07
8.2.30.0070.00017.97
8.2.20.0000.00718.01
8.2.10.0040.00418.00
8.2.00.0000.00917.71
8.1.300.0000.00820.09
8.1.290.0000.00930.84
8.1.280.0180.00425.92
8.1.270.0080.00823.78
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0050.00522.10
8.1.230.0090.00319.02
8.1.220.0080.00017.74
8.1.210.0080.00018.77
8.1.200.0000.01017.35
8.1.190.0050.00317.23
8.1.180.0030.00518.10
8.1.170.0080.00018.66
8.1.160.0030.00618.75
8.1.150.0070.00018.80
8.1.140.0000.00722.13
8.1.130.0000.00720.01
8.1.120.0030.00317.52
8.1.110.0040.00417.48
8.1.100.0030.00517.54
8.1.90.0040.00417.52
8.1.80.0030.00617.43
8.1.70.0000.00817.44
8.1.60.0060.00317.66
8.1.50.0040.00417.48
8.1.40.0040.00417.57
8.1.30.0000.00917.63
8.1.20.0070.00317.75
8.1.10.0060.00317.70
8.1.00.0000.00817.66
8.0.300.0000.00718.77
8.0.290.0050.00316.88
8.0.280.0000.00718.38
8.0.270.0040.00416.78
8.0.260.0060.00020.32
8.0.250.0070.00016.90
8.0.240.0040.00417.00
8.0.230.0030.00316.96
8.0.220.0030.00616.87
8.0.210.0040.00416.96
8.0.200.0000.00717.02
8.0.190.0070.00017.01
8.0.180.0030.00616.97
8.0.170.0040.00417.04
8.0.160.0020.00516.93
8.0.150.0030.00616.97
8.0.140.0030.00316.84
8.0.130.0000.00513.33
8.0.120.0050.00316.98
8.0.110.0050.00216.97
8.0.100.0040.00416.99
8.0.90.0050.00217.00
8.0.80.0050.01216.96
8.0.70.0040.00416.79
8.0.60.0040.00417.03
8.0.50.0040.00416.78
8.0.30.0110.00817.22
8.0.20.0140.00517.40
8.0.10.0050.00217.06
8.0.00.0100.00816.93
7.4.330.0030.00315.55
7.4.320.0060.00016.63
7.4.300.0060.00316.72
7.4.290.0030.00316.70
7.4.280.0040.00416.74
7.4.270.0000.00716.64
7.4.260.0000.00916.77
7.4.250.0000.00716.57
7.4.240.0030.00316.63
7.4.230.0030.00316.52
7.4.220.0000.00816.58
7.4.210.0090.00616.65
7.4.200.0030.00316.71
7.4.160.0110.00816.53
7.4.140.0100.00817.86
7.4.130.0090.00916.63
7.4.120.0070.01416.57
7.4.110.0100.01316.69
7.4.100.0110.00716.58
7.4.90.0100.00716.69
7.4.80.0130.00519.39
7.4.70.0090.01216.77
7.4.60.0070.01016.56
7.4.50.0100.00616.74
7.4.40.0140.00716.61
7.4.00.0110.00715.04
7.3.330.0030.00313.26
7.3.320.0050.00013.08
7.3.310.0070.00016.43
7.3.300.0000.00716.25
7.3.290.0030.00416.39
7.3.280.0110.00416.37
7.3.260.0100.01216.49
7.3.240.0120.00616.53
7.3.230.0080.01116.55
7.3.210.0120.00616.63
7.3.200.0080.00816.57
7.3.190.0130.00316.57
7.3.180.0130.00716.75
7.3.170.0100.00716.51
7.3.160.0060.00916.43
7.2.330.0090.00916.69
7.2.320.0150.00916.57
7.2.310.0060.01316.45
7.2.300.0030.01316.60
7.2.290.0130.00316.60
7.2.110.1360.00714.46
7.2.100.0200.01314.80
7.2.90.2750.01014.96
7.2.80.0220.00714.86
7.2.70.2610.00314.93
7.2.60.2600.00714.93
7.2.50.2630.00914.72
7.2.40.2250.00714.94
7.2.30.2510.00314.96
7.2.20.2220.00315.15
7.2.10.2290.00615.05
7.2.00.2130.00615.04
7.1.230.0320.00714.06
7.1.220.0210.00413.86
7.1.210.0590.01613.96
7.1.200.0140.00714.11
7.1.190.2510.00314.05
7.1.180.2430.00613.89
7.1.170.2880.00714.00
7.1.160.2250.00013.73
7.1.150.2170.01014.25
7.1.140.2340.00313.70
7.1.130.2400.00713.75
7.1.120.2560.01013.93
7.1.110.2410.00314.11
7.1.100.2740.00613.83
7.1.90.2540.00714.02
7.1.80.2660.00313.81
7.1.70.3040.00714.11
7.1.60.2960.00732.07
7.1.50.3480.01031.91
7.1.40.3520.00732.07
7.1.30.3130.01332.04
7.1.20.3910.00331.81
7.1.10.4380.00713.78
7.1.00.3100.00313.83
5.6.380.0140.00314.15

preferences:
28.14 ms | 403 KiB | 5 Q