3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_match('/(*MARK:A)a/', 'a', $matches); var_dump($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.4.20.0030.00617.69
8.4.10.0100.01017.63
8.3.150.0160.00319.10
8.3.140.0030.00616.54
8.3.130.0080.00016.37
8.3.120.0030.00518.74
8.3.110.0060.01320.94
8.3.100.0090.00024.06
8.3.90.0080.00026.77
8.3.80.0100.00317.97
8.3.70.0070.01016.47
8.3.60.0050.01016.88
8.3.50.0120.00822.05
8.3.40.0080.00618.97
8.3.30.0070.00718.67
8.3.20.0080.00020.16
8.3.10.0040.00421.90
8.3.00.0040.00420.77
8.2.260.0030.01418.70
8.2.250.0090.00018.37
8.2.240.0000.00818.77
8.2.230.0080.00022.58
8.2.220.0080.00037.54
8.2.210.0130.00726.77
8.2.200.0040.00416.75
8.2.190.0140.00416.58
8.2.180.0100.01016.88
8.2.170.0040.01122.96
8.2.160.0150.00619.04
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0060.00320.96
8.2.110.0040.00421.01
8.2.100.0060.00617.72
8.2.90.0080.00019.89
8.2.80.0000.00720.54
8.2.70.0040.00417.75
8.2.60.0040.00417.80
8.2.50.0000.00818.10
8.2.40.0000.00820.59
8.2.30.0070.00020.59
8.2.20.0040.00417.63
8.2.10.0000.00717.84
8.2.00.0040.00417.88
8.1.310.0120.00616.66
8.1.300.0030.00618.42
8.1.290.0070.00430.84
8.1.280.0030.01425.92
8.1.270.0040.00423.97
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0040.00422.19
8.1.230.0080.00320.93
8.1.220.0050.00317.74
8.1.210.0000.00818.91
8.1.200.0060.00317.23
8.1.190.0000.00817.23
8.1.180.0040.00418.10
8.1.170.0050.00318.65
8.1.160.0040.00420.84
8.1.150.0030.00618.89
8.1.140.0000.00718.79
8.1.130.0000.00717.44
8.1.120.0040.00417.43
8.1.110.0050.00317.36
8.1.100.0030.00317.52
8.1.90.0030.00417.47
8.1.80.0040.00417.41
8.1.70.0000.00917.40
8.1.60.0070.00017.62
8.1.50.0040.00417.57
8.1.40.0060.00317.45
8.1.30.0000.00817.51
8.1.20.0040.00417.73
8.1.10.0030.00517.44
8.1.00.0000.00817.40
8.0.300.0030.00320.09
8.0.290.0080.00016.75
8.0.280.0000.00718.25
8.0.270.0030.00317.15
8.0.260.0030.00317.17
8.0.250.0030.00316.98
8.0.240.0030.00516.84
8.0.230.0000.00716.88
8.0.220.0040.00416.81
8.0.210.0040.00416.89
8.0.200.0030.00316.86
8.0.190.0030.00616.92
8.0.180.0050.00316.93
8.0.170.0040.00416.96
8.0.160.0070.00017.04
8.0.150.0000.00716.89
8.0.140.0000.00716.77
8.0.130.0000.00513.27
8.0.120.0040.00416.93
8.0.110.0070.00016.73
8.0.100.0000.00716.93
8.0.90.0000.00716.95
8.0.80.0060.00916.80
8.0.70.0030.00616.82
8.0.60.0080.00016.93
8.0.50.0040.00416.95
8.0.30.0080.01017.15
8.0.20.0150.00517.40
8.0.10.0040.00416.91
8.0.00.0110.00917.01
7.4.330.0000.00515.08
7.4.320.0030.00316.52
7.4.300.0030.00316.69
7.4.290.0000.00716.58
7.4.280.0040.00416.50
7.4.270.0070.00016.58
7.4.260.0040.00416.52
7.4.250.0000.00816.53
7.4.240.0030.00316.69
7.4.230.0000.00716.50
7.4.220.0180.00816.55
7.4.210.0000.01516.75
7.4.200.0030.00316.70
7.4.160.0060.00916.39
7.4.150.0040.01417.40
7.4.140.0160.00317.86
7.4.130.0120.01216.59
7.4.120.0100.00716.59
7.4.110.0080.01116.64
7.4.100.0060.01116.66
7.4.90.0080.01316.52
7.4.80.0130.00419.39
7.4.70.0090.00616.54
7.4.60.0040.01216.61
7.4.50.0030.01316.26
7.4.40.0140.00416.68
7.4.30.0100.00716.73
7.4.00.0040.01415.17
7.3.330.0050.00013.16
7.3.320.0050.00013.27
7.3.310.0000.00716.23
7.3.300.0030.00316.31
7.3.290.0110.00416.31
7.3.280.0100.00916.29
7.3.270.0090.00917.40
7.3.260.0070.01416.49
7.3.250.0120.01116.47
7.3.240.0140.00416.41
7.3.230.0120.00416.39
7.3.210.0060.01116.35
7.3.200.0100.00716.55
7.3.190.0060.00916.71
7.3.180.0030.01616.59
7.3.170.0070.01216.41
7.3.160.0100.00616.50
7.2.330.0100.00716.60
7.2.320.0060.01716.71
7.2.310.0100.01416.66
7.2.300.0130.00316.35
7.2.290.0090.00616.60
7.2.00.0060.00618.97
7.1.100.0040.01118.57
7.1.70.0080.00017.10
7.1.60.0060.00919.48
7.1.00.0000.07722.46
7.0.200.0000.00915.03
7.0.60.0230.06321.72
7.0.50.0030.08717.87
7.0.40.0270.05720.02
7.0.30.0030.06720.25
7.0.20.0770.06320.02
7.0.10.0600.07720.23
7.0.00.0430.05720.20
5.6.280.0070.07020.81
5.6.210.0070.08020.60
5.6.200.0030.06718.16
5.6.190.0200.05720.57
5.6.180.0130.05720.40
5.6.170.0570.06720.47
5.6.160.0470.04320.37
5.6.150.0300.05320.29
5.6.140.0200.06020.32
5.6.130.0130.06320.41
5.6.120.0130.07020.32
5.6.110.0300.07320.20
5.6.100.0230.05720.43
5.6.90.0200.05320.23
5.6.80.0230.06019.69
5.6.70.0030.07019.90
5.6.60.0130.06019.67
5.6.50.0270.05019.72
5.6.40.0230.05319.80
5.6.30.0200.05019.66
5.6.20.0270.05019.81
5.6.10.0130.05319.61
5.6.00.0100.05719.60
5.5.350.0200.07020.36
5.5.340.0130.07317.99
5.5.330.0130.06020.32
5.5.320.0130.05320.35
5.5.310.0470.06020.43
5.5.300.0230.05720.10
5.5.290.0170.05720.09
5.5.280.0170.06020.32
5.5.270.0230.07019.97
5.5.260.0200.05720.32
5.5.250.0230.07020.04
5.5.240.0100.06719.57
5.5.230.0130.06019.59
5.5.220.0170.06019.70
5.5.210.0200.05319.58
5.5.200.0330.03719.61
5.5.190.0130.07019.50
5.5.180.0270.06319.45
5.5.160.0370.06319.58
5.5.150.0500.05019.58
5.5.140.0570.05719.29
5.5.130.0470.05019.45
5.5.120.0200.05319.47
5.5.110.0100.07019.30
5.5.100.0400.05719.41
5.5.90.0500.05319.49
5.5.80.0230.05319.29
5.5.70.0270.06019.57
5.5.60.0230.05019.38
5.5.50.0270.05719.41
5.5.40.0230.04719.48
5.5.30.0200.05319.38
5.5.20.0200.06319.41
5.5.10.0170.06719.40
5.5.00.0130.06319.39

preferences:
35.72 ms | 403 KiB | 5 Q