3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = "11 a b 13 begin t 899 y 50 f end 91 h"; var_export(preg_match_all('~(?:begin|\G(?!^))(?:.(?!end))*?\K\d+~', $text, $out) ? $out : 'no matches');

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.60.0100.01018.43
8.3.50.0090.00618.35
8.3.40.0070.01118.55
8.3.30.0140.00018.67
8.3.20.0080.00019.02
8.3.10.0040.00421.71
8.3.00.0040.00423.64
8.2.180.0130.00916.50
8.2.170.0150.00422.96
8.2.160.0130.00319.05
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0080.00020.39
8.2.120.0040.00426.35
8.2.110.0000.00922.42
8.2.100.0080.00419.76
8.2.90.0080.00017.63
8.2.80.0090.00517.97
8.2.70.0030.00617.93
8.2.60.0040.00417.80
8.2.50.0030.00618.10
8.2.40.0070.00018.98
8.2.30.0050.00520.64
8.2.20.0000.00718.12
8.2.10.0070.00018.00
8.2.00.0000.00719.34
8.1.280.0150.00025.92
8.1.270.0060.00323.73
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0090.00023.82
8.1.230.0040.00719.14
8.1.220.0080.00018.52
8.1.210.0080.00018.77
8.1.200.0090.00017.38
8.1.190.0030.00717.23
8.1.180.0030.00918.10
8.1.170.0040.00418.75
8.1.160.0000.00718.75
8.1.150.0000.00718.84
8.1.140.0050.00318.94
8.1.130.0030.00319.04
8.1.120.0040.00417.58
8.1.110.0040.00717.57
8.1.100.0030.00617.53
8.1.90.0040.00417.54
8.1.80.0050.00217.49
8.1.70.0060.00317.57
8.1.60.0060.00317.58
8.1.50.0030.00717.61
8.1.40.0050.00317.49
8.1.30.0140.00017.63
8.1.20.0040.00417.71
8.1.10.0000.00817.66
8.1.00.0040.00417.55
8.0.300.0000.00718.77
8.0.290.0060.00316.75
8.0.280.0030.00318.31
8.0.270.0000.00817.20
8.0.260.0060.00017.09
8.0.250.0070.00016.92
8.0.240.0000.00717.10
8.0.230.0050.00216.89
8.0.220.0000.00716.98
8.0.210.0040.00416.96
8.0.200.0030.00317.04
8.0.190.0040.00717.00
8.0.180.0050.00316.96
8.0.170.0000.00817.03
8.0.160.0070.00017.02
8.0.150.0040.00416.91
8.0.140.0000.00716.89
8.0.130.0060.00013.39
8.0.120.0070.00416.93
8.0.110.0000.00716.93
8.0.100.0040.00416.91
8.0.90.0050.00317.03
8.0.80.0100.00916.94
8.0.70.0000.00716.97
8.0.60.0000.00816.91
8.0.50.0040.00416.85
8.0.30.0090.01117.30
8.0.20.0130.00617.40
8.0.10.0070.00016.96
8.0.00.0060.01116.79
7.4.330.0000.00515.55
7.4.320.0030.00316.71
7.4.300.0000.00716.73
7.4.290.0070.00016.49
7.4.280.0040.00416.78
7.4.270.0070.00016.74
7.4.260.0030.00316.60
7.4.250.0040.00416.68
7.4.240.0050.00316.75
7.4.230.0030.00316.76
7.4.220.0070.00016.79
7.4.210.0100.00816.69
7.4.200.0000.00716.84
7.4.160.0080.01016.61
7.4.140.0140.00617.86
7.4.130.0090.00816.59
7.4.120.0060.01116.73
7.4.110.0060.01016.63
7.4.100.0060.01116.76
7.4.90.0110.00916.49
7.4.80.0060.01219.39
7.4.70.0120.00616.62
7.4.60.0120.00916.58
7.4.50.0060.00916.36
7.4.40.0130.01016.75
7.4.00.0040.00914.97
7.3.330.0030.00313.08
7.3.320.0000.00613.03
7.3.310.0070.00016.43
7.3.300.0070.00016.27
7.3.290.0030.00316.27
7.3.280.0060.01116.22
7.3.260.0080.01116.39
7.3.240.0100.00816.31
7.3.230.0080.00816.51
7.3.210.0100.00616.23
7.3.200.0120.00916.23
7.3.190.0060.01016.25
7.3.180.0070.01016.35
7.3.170.0150.00016.32
7.3.160.0110.01016.48
7.3.10.0080.01116.48
7.3.00.0120.00816.61
7.2.330.0110.00716.65
7.2.320.0030.01316.73
7.2.310.0110.00616.68
7.2.300.0060.01016.47
7.2.290.0080.00816.36
7.2.130.0050.01316.99
7.2.120.0090.01216.81
7.2.110.0170.00316.51
7.2.100.0100.01016.84
7.2.90.0060.00616.79
7.2.80.0230.00815.74
7.2.70.0180.00615.91
7.2.60.0200.00915.94
7.2.50.0300.00715.87
7.2.40.0340.00515.96
7.2.30.0190.00916.00
7.2.20.0230.01015.97
7.2.10.0310.00716.01
7.2.00.0230.01016.05
7.1.250.0000.01115.63
7.1.200.0030.01015.85
7.1.190.0430.01013.93
7.1.180.0450.01313.78
7.1.170.0540.00614.09
7.1.160.0270.00613.74
7.1.150.0260.00713.78
7.1.140.0250.01414.13
7.1.130.0300.01314.15
7.1.120.0580.00313.89
7.1.110.0520.00714.09
7.1.100.0520.01014.16
7.1.90.1140.00613.91
7.1.80.0290.00414.02
7.1.70.0390.00913.77
7.1.60.0730.00631.76
7.1.50.0720.01931.86
7.1.40.0760.01631.98
7.1.30.0650.01332.06
7.1.20.0560.01332.07
7.1.10.0410.00914.00
7.1.00.0470.00914.18

preferences:
60.2 ms | 400 KiB | 5 Q