3v4l.org

run code in 300+ PHP versions simultaneously
<?php $re = '/Grup [A-Z]/'; $str = 'Grup I: Kroasia vs Islandia'; preg_match_all($re, $str, $matches); // Print the entire match result print_r($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.0160.00616.63
8.3.50.0110.00716.42
8.3.40.0110.01118.61
8.3.30.0060.01218.71
8.3.20.0040.00418.77
8.3.10.0050.00323.64
8.3.00.0000.00821.74
8.2.180.0060.01216.63
8.2.170.0040.01822.96
8.2.160.0070.01020.33
8.2.150.0040.00424.18
8.2.140.0070.00024.66
8.2.130.0000.00819.82
8.2.120.0040.00426.35
8.2.110.0090.00022.20
8.2.100.0080.00417.78
8.2.90.0000.01019.23
8.2.80.0030.00517.97
8.2.70.0070.00317.75
8.2.60.0000.00817.80
8.2.50.0080.00018.10
8.2.40.0030.00620.60
8.2.30.0070.00019.21
8.2.20.0040.00417.91
8.2.10.0030.00517.93
8.2.00.0070.00017.82
8.1.280.0090.00625.92
8.1.270.0070.00022.23
8.1.260.0080.00028.09
8.1.250.0000.00728.09
8.1.240.0060.00322.23
8.1.230.0080.00417.82
8.1.220.0040.00417.74
8.1.210.0060.00318.77
8.1.200.0040.00417.48
8.1.190.0070.00417.11
8.1.180.0060.00318.10
8.1.170.0040.00418.76
8.1.160.0000.00920.65
8.1.150.0000.00720.28
8.1.140.0040.00419.39
8.1.130.0070.00017.64
8.1.120.0030.00417.61
8.1.110.0040.00417.55
8.1.100.0070.00017.55
8.1.90.0000.00817.45
8.1.80.0000.00717.50
8.1.70.0030.00517.57
8.1.60.0040.00417.64
8.1.50.0040.00417.59
8.1.40.0060.00317.57
8.1.30.0050.00317.66
8.1.20.0000.00717.75
8.1.10.0030.00517.65
8.1.00.0040.00417.47
8.0.300.0060.00318.77
8.0.290.0040.00416.75
8.0.280.0030.00318.42
8.0.270.0070.00017.20
8.0.260.0050.00317.21
8.0.250.0000.00717.03
8.0.240.0000.00816.86
8.0.230.0000.00817.02
8.0.220.0030.00516.93
8.0.210.0000.00716.95
8.0.200.0030.00517.06
8.0.190.0000.00816.99
8.0.180.0000.00717.02
8.0.170.0100.00016.95
8.0.160.0030.00316.96
8.0.150.0070.00016.80
8.0.140.0040.00416.81
8.0.130.0000.00513.39
8.0.120.0000.00716.93
8.0.110.0030.00516.81
8.0.100.0000.00916.91
8.0.90.0040.00416.97
8.0.80.0070.00716.93
8.0.70.0070.00016.81
8.0.60.0030.00516.81
8.0.50.0040.00416.91
8.0.30.0100.00917.24
8.0.20.0130.00817.40
8.0.10.0000.00716.86
8.0.00.0070.01316.82
7.4.330.0060.00015.55
7.4.320.0070.00016.75
7.4.300.0000.00616.65
7.4.290.0040.00416.55
7.4.280.0000.00816.48
7.4.270.0060.00316.66
7.4.260.0070.00016.60
7.4.250.0040.00416.52
7.4.240.0040.00316.65
7.4.230.0000.00816.63
7.4.220.0070.01316.76
7.4.210.0030.01216.82
7.4.200.0070.00016.52
7.4.160.0050.01116.51
7.4.150.0090.00917.40
7.4.140.0130.00417.86
7.4.130.0140.00516.59
7.4.120.0130.00516.57
7.4.110.0140.00416.52
7.4.100.0220.01616.55
7.4.90.0130.00616.50
7.4.80.0060.01019.39
7.4.70.0040.01616.66
7.4.60.0090.00916.50
7.4.50.0080.00416.57
7.4.40.0100.00716.61
7.4.30.0070.01016.52
7.4.00.0000.01614.94
7.3.330.0000.00613.16
7.3.320.0030.00312.98
7.3.310.0030.00316.34
7.3.300.0000.00616.31
7.3.290.0110.00316.30
7.3.280.0090.00816.32
7.3.270.0050.01417.40
7.3.260.0100.01216.40
7.3.250.0120.00416.26
7.3.240.0160.00516.40
7.3.230.0070.01016.49
7.3.210.0060.01616.64
7.3.200.0040.01216.66
7.3.190.0060.01216.54
7.3.180.0070.00716.66
7.3.170.0080.00816.61
7.3.160.0060.01216.20
7.3.10.0120.00916.31
7.3.00.0120.00416.16
7.2.330.0070.01116.68
7.2.320.0120.00516.74
7.2.310.0070.01016.44
7.2.300.0160.00616.47
7.2.290.0060.01016.65
7.2.130.0210.00016.16
7.2.120.0050.01616.49
7.2.110.0140.00716.66
7.2.100.0090.00616.09
7.2.90.0210.00416.26
7.2.80.0100.00716.50
7.2.70.0170.00316.57
7.2.60.0130.00716.72
7.2.50.0080.01016.65
7.2.40.0060.01216.45
7.2.30.0030.01216.52
7.2.20.0200.00716.62
7.2.10.0110.01416.55
7.2.00.0030.01118.13
7.1.250.0160.00315.52
7.1.200.0100.01015.79
7.1.70.0030.00517.27
7.1.60.0090.00617.37
7.1.00.0030.07722.59
7.0.200.0040.00714.80
7.0.120.0030.05722.09
7.0.110.0070.05722.07
7.0.100.0070.05722.20
7.0.90.0070.05322.11
7.0.80.0100.05322.07
7.0.70.0070.05322.07
7.0.60.0030.05722.18
7.0.50.0030.05722.10
7.0.40.0030.05722.08
7.0.30.0170.05022.10
7.0.20.0100.05022.04
7.0.10.0130.04722.05
7.0.00.0030.05722.11
5.6.270.0100.05020.91
5.6.260.0070.05321.04
5.6.250.0100.05021.09
5.6.240.0030.06020.80
5.6.230.0000.06320.97
5.6.220.0070.05720.73
5.6.210.0070.05321.05
5.6.200.0170.04720.93
5.6.190.0070.05720.86
5.6.180.0100.05321.09
5.6.170.0070.05720.83
5.6.160.0000.06020.92
5.6.150.0030.06321.05
5.6.140.0100.05321.03
5.6.130.0130.04720.98
5.6.120.0030.06020.95
5.6.110.0070.05721.04
5.6.100.0070.06321.02
5.6.90.0070.06720.97
5.6.80.0100.05020.41
5.6.70.0030.06020.38
5.6.60.0030.06320.26
5.6.50.0100.05720.30
5.6.40.0000.05720.41
5.6.30.0130.05320.18
5.6.20.0130.04720.20
5.6.10.0100.05020.38
5.6.00.0130.04720.13

preferences:
56.64 ms | 400 KiB | 5 Q