3v4l.org

run code in 300+ PHP versions simultaneously
<?php $matches = new stdClass; preg_match("((foo)+)", "foo", $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.10.0060.00319.48
8.3.140.0050.00316.69
8.3.130.0110.00718.28
8.3.120.0120.00018.89
8.3.110.0040.00420.94
8.3.100.0050.00524.06
8.3.90.0000.01126.77
8.3.80.0060.00316.63
8.3.70.0140.00716.38
8.3.60.0030.01218.56
8.3.50.0130.00723.65
8.3.40.0130.00718.84
8.3.30.0070.00718.71
8.3.20.0000.00720.82
8.3.10.0050.00321.69
8.3.00.0040.00421.66
8.2.260.0090.00618.87
8.2.250.0040.00418.67
8.2.240.0060.00917.44
8.2.230.0050.00322.58
8.2.220.0040.00437.54
8.2.210.0000.01426.77
8.2.200.0030.00616.75
8.2.190.0140.00318.45
8.2.180.0100.01018.66
8.2.170.0110.00722.96
8.2.160.0060.00920.44
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0040.00421.31
8.2.110.0080.00022.20
8.2.100.0090.00317.78
8.2.90.0060.00319.21
8.2.80.0060.00317.97
8.2.70.0040.00417.75
8.2.60.0050.00317.91
8.2.50.0030.00618.07
8.2.40.0080.00018.03
8.2.30.0050.00219.45
8.2.20.0040.00418.01
8.2.10.0040.00419.12
8.2.00.0050.00219.26
8.1.300.0050.00320.19
8.1.290.0060.00318.88
8.1.280.0130.00325.92
8.1.270.0040.00420.51
8.1.260.0080.00026.35
8.1.250.0090.00328.09
8.1.240.0030.00623.93
8.1.230.0090.00319.15
8.1.220.0080.00017.74
8.1.210.0000.00818.77
8.1.200.0060.00317.25
8.1.190.0000.00817.22
8.1.180.0070.00418.10
8.1.170.0000.00818.62
8.1.160.0000.00818.84
8.1.150.0000.00718.75
8.1.140.0000.00720.75
8.1.130.0070.00020.16
8.1.120.0000.00717.53
8.1.110.0090.00017.51
8.1.100.0000.00817.55
8.1.90.0000.00717.41
8.1.80.0040.00417.58
8.1.70.0030.00317.51
8.1.60.0080.00017.67
8.1.50.0030.00617.54
8.1.40.0040.00417.55
8.1.30.0040.00417.65
8.1.20.0040.00417.60
8.1.10.0030.00517.72
8.1.00.0080.00017.66
8.0.300.0040.00418.77
8.0.290.0060.00316.75
8.0.280.0000.00718.40
8.0.270.0030.00317.96
8.0.260.0000.00619.92
8.0.250.0000.00716.93
8.0.240.0070.00017.05
8.0.230.0040.00417.02
8.0.220.0040.00416.94
8.0.210.0040.00416.93
8.0.200.0030.00317.01
8.0.190.0030.00317.05
8.0.180.0000.00716.96
8.0.170.0040.00416.96
8.0.160.0000.00716.92
8.0.150.0030.00316.79
8.0.140.0070.00016.96
8.0.130.0070.00013.41
8.0.120.0040.00416.91
8.0.110.0030.00516.98
8.0.100.0050.00316.93
8.0.90.0030.00516.80
8.0.80.0070.00816.98
8.0.70.0040.00416.95
8.0.60.0050.00316.81
8.0.50.0030.00316.83
8.0.30.0060.01217.14
8.0.20.0090.00917.10
8.0.10.0070.00017.10
8.0.00.0130.00416.64
7.4.330.0050.00016.80
7.4.320.0030.00316.79
7.4.300.0000.00716.58
7.4.290.0030.00316.73
7.4.280.0000.01216.61
7.4.270.0030.00316.78
7.4.260.0050.00013.42
7.4.250.0000.00716.58
7.4.240.0020.00516.71
7.4.230.0000.00816.47
7.4.220.0040.00316.58
7.4.210.0070.01016.59
7.4.200.0030.00316.55
7.4.130.0140.00516.59
7.4.120.0060.01416.70
7.4.110.0070.01016.52
7.4.100.0090.00616.68
7.4.90.0030.01516.60
7.4.80.0090.01819.39
7.4.70.0120.00816.53
7.4.60.0130.00316.57
7.4.50.0070.00516.48
7.4.40.0040.01216.56
7.4.20.0110.00916.44
7.4.10.0100.01016.69
7.4.00.0060.01416.51
7.3.330.0060.00316.30
7.3.320.0050.00013.15
7.3.310.0050.00216.35
7.3.300.0030.00616.29
7.3.290.0100.00516.32
7.3.280.0070.00716.24
7.3.260.0140.00416.30
7.3.240.0080.01116.43
7.3.230.0100.00716.56
7.3.210.0070.01016.30
7.3.200.0110.01116.30
7.3.190.0040.01416.39
7.3.180.0070.01316.36
7.3.170.0180.00616.46
7.3.160.0070.01016.39
7.3.140.0150.00416.26
7.3.130.0150.00516.24
7.3.120.0120.00616.19
7.3.110.0140.00516.28
7.3.100.0120.00716.38
7.3.90.0090.01116.35
7.3.80.0060.01216.29
7.3.70.0080.01116.39
7.3.60.0050.01416.36
7.3.50.0100.00916.25
7.3.40.0120.00616.24
7.3.30.0080.01016.25
7.3.20.0130.00516.41
7.3.10.0060.01316.26
7.3.00.0090.01116.30
7.2.330.0040.01416.47
7.2.320.0140.00616.68
7.2.310.0080.00816.56
7.2.300.0070.01116.52
7.2.290.0060.01016.74
7.2.270.0090.01216.54
7.2.260.0130.00816.58
7.2.250.0080.01216.46
7.2.240.0120.00816.51
7.2.230.0070.01316.63
7.2.220.0050.01416.48
7.2.210.0070.01116.41
7.2.200.0140.00516.46
7.2.190.0120.00816.51
7.2.180.0110.00916.53
7.2.170.0110.00716.42
7.2.160.0090.00916.48
7.2.150.0120.00716.49
7.2.140.0080.01316.60
7.2.130.0170.00316.56
7.2.120.0140.01616.61
7.2.110.0110.00416.56
7.2.100.0150.00916.51
7.2.90.0160.00916.41
7.2.80.0060.01816.71
7.2.70.0180.00816.47
7.2.60.0110.01316.52
7.2.50.0110.01316.48
7.2.40.0080.01616.64
7.2.30.0100.01916.59
7.2.20.0090.01816.53
7.2.10.0140.01316.43
7.2.00.0080.01416.71

preferences:
54.19 ms | 403 KiB | 5 Q