3v4l.org

run code in 300+ PHP versions simultaneously
<?php function foo($bar, $baz) { echo $baz; } foo('bar');

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.0080.00816.63
8.3.50.0140.00716.50
8.3.40.0060.00918.60
8.3.30.0120.00318.72
8.3.20.0070.00020.34
8.3.10.0000.00821.89
8.3.00.0000.00819.66
8.2.180.0120.00616.50
8.2.170.0100.00722.96
8.2.160.0030.01020.33
8.2.150.0040.00424.18
8.2.140.0060.00324.66
8.2.130.0050.00326.16
8.2.120.0030.00617.63
8.2.110.0030.00620.99
8.2.100.0080.00417.63
8.2.90.0070.00019.09
8.2.80.0030.00517.97
8.2.70.0030.00617.50
8.2.60.0000.00817.80
8.2.50.0040.00418.07
8.2.40.0040.00421.19
8.2.30.0050.00217.95
8.2.20.0040.00417.59
8.2.10.0050.00217.86
8.2.00.0000.00717.98
8.1.280.0090.00625.92
8.1.270.0110.00320.16
8.1.260.0040.00426.35
8.1.250.0050.00228.09
8.1.240.0100.00722.14
8.1.230.0120.00017.42
8.1.220.0030.00517.74
8.1.210.0000.00818.77
8.1.200.0090.00017.23
8.1.190.0050.00317.10
8.1.180.0040.00418.10
8.1.170.0000.00818.60
8.1.160.0000.00721.86
8.1.150.0040.00418.75
8.1.140.0030.00517.20
8.1.130.0000.00817.61
8.1.120.0080.00017.23
8.1.110.0030.00517.30
8.1.100.0020.00517.39
8.1.90.0040.00417.35
8.1.80.0000.00817.31
8.1.70.0040.00417.28
8.1.60.0040.00417.39
8.1.50.0050.00217.38
8.1.40.0050.00317.43
8.1.30.0000.00817.48
8.1.20.0000.00717.59
8.1.10.0040.00417.48
8.1.00.0040.00417.45
8.0.300.0040.00418.77
8.0.290.0090.00016.63
8.0.280.0000.00818.42
8.0.270.0040.00417.13
8.0.260.0000.00617.23
8.0.250.0050.00316.98
8.0.240.0000.01016.93
8.0.230.0040.00416.86
8.0.220.0000.00716.88
8.0.210.0040.00416.91
8.0.200.0040.00416.81
8.0.190.0000.00816.86
8.0.180.0080.00016.91
8.0.170.0040.00416.94
8.0.160.0080.00016.89
8.0.150.0080.00016.79
8.0.140.0050.00316.82
8.0.130.0060.00013.31
8.0.120.0000.00816.79
8.0.110.0000.00816.89
8.0.100.0000.00716.77
8.0.90.0040.00416.92
8.0.80.0060.00916.78
8.0.70.0040.00416.84
8.0.60.0000.00716.93
8.0.50.0080.00016.85
8.0.30.0110.01116.88
8.0.20.0100.00917.40
8.0.10.0000.00716.92
8.0.00.0110.00716.72
7.4.330.0000.00515.08
7.4.320.0040.00416.35
7.4.300.0060.00016.47
7.4.290.0040.00416.34
7.4.280.0070.00016.54
7.4.270.0030.00316.29
7.4.260.0040.00416.44
7.4.250.0040.00416.40
7.4.240.0000.00716.42
7.4.230.0030.00316.35
7.4.220.0130.00916.38
7.4.210.0090.00816.47
7.4.200.0040.00416.43
7.4.160.0090.00616.42
7.4.150.0030.01717.40
7.4.140.0150.01017.86
7.4.130.0110.00816.58
7.4.120.0150.00616.70
7.4.110.0170.00016.59
7.4.100.0100.01316.65
7.4.90.0160.00316.52
7.4.80.0090.01319.39
7.4.70.0150.00516.32
7.4.60.0100.00716.33
7.4.50.0040.00416.11
7.4.40.0080.00816.30
7.4.30.0130.00416.24
7.4.00.0030.01014.61
7.3.330.0060.00013.32
7.3.320.0000.00513.36
7.3.310.0030.00616.32
7.3.300.0060.00016.21
7.3.290.0000.00716.31
7.3.280.0090.01216.32
7.3.270.0100.01617.40
7.3.260.0110.00816.27
7.3.250.0120.00716.35
7.3.240.0100.01016.50
7.3.230.0120.00416.50
7.3.210.0080.00816.43
7.3.200.0140.00616.39
7.3.190.0080.00816.28
7.3.180.0120.00416.34
7.3.170.0080.01016.30
7.3.160.0060.01016.29
7.3.10.0100.00716.60
7.3.00.0030.01016.49
7.2.330.0030.01416.72
7.2.320.0090.00916.70
7.2.310.0070.01016.64
7.2.300.0080.01416.55
7.2.290.0070.01016.30
7.2.130.0100.00616.82
7.2.120.0030.01016.48
7.2.110.0140.00016.51
7.2.100.0060.00616.78
7.2.90.0080.00816.75
7.2.80.0090.00416.90
7.2.70.0070.00316.91
7.2.60.0090.00716.66
7.2.50.0100.00716.83
7.2.40.0060.01016.85
7.2.30.0110.00716.43
7.2.20.0030.01016.71
7.2.10.0040.01116.56
7.2.00.0050.00818.12
7.1.250.0090.00615.55
7.1.200.0000.01115.53
7.1.100.0040.01217.61
7.1.70.0000.00716.96
7.1.60.0100.01420.03
7.1.50.0090.01216.80
7.1.00.0000.07722.40
7.0.200.0090.00316.40
7.0.60.0070.08019.85
7.0.50.0030.05317.85
7.0.40.0100.06720.24
7.0.30.0500.06720.06
7.0.20.0070.05020.16
7.0.10.0100.08020.16
7.0.00.0000.06320.08
5.6.280.0000.03321.12
5.6.210.0100.07020.57
5.6.200.0070.08318.17
5.6.190.0130.08020.47
5.6.180.3800.03720.48
5.6.170.0230.08020.53
5.6.160.0100.07020.66
5.6.150.0130.05018.19
5.6.140.0170.04318.28
5.6.130.0100.07018.18
5.6.120.0170.04020.97
5.6.110.0200.07021.00
5.6.100.0030.08321.13
5.6.90.0100.05021.11
5.6.80.0000.05020.38
5.6.70.3970.04020.42
5.5.350.0070.07720.38
5.5.340.0070.08318.09
5.5.330.0070.04020.29
5.5.320.0270.05320.27
5.5.310.0270.03720.42
5.5.300.0200.06317.98
5.5.290.0030.07717.98
5.5.280.0230.05320.88
5.5.270.0100.06720.80
5.5.260.0070.06720.88
5.5.250.0230.07320.46
5.5.240.0230.07720.05
5.4.450.0530.06319.58
5.4.440.0530.06719.46
5.4.430.0500.06019.48
5.4.420.0130.06719.61
5.4.410.0630.06319.21
5.4.400.0670.08719.23
5.4.390.0500.08719.14
5.4.380.0130.07019.30
5.4.370.1200.06019.12
5.4.360.0900.05318.98
5.4.350.0630.05019.27
5.4.340.0730.06718.84
5.4.320.0670.07019.27
5.4.310.0830.05319.02
5.4.300.1030.06019.07
5.4.290.0570.07019.22
5.4.280.0730.06719.29
5.4.270.0770.05719.24
5.4.260.0800.05019.11
5.4.250.0630.07719.27
5.4.240.0730.05719.13
5.4.230.1070.06019.29
5.4.220.0800.08018.83
5.4.210.0970.07019.02
5.4.200.1130.06016.83
5.4.190.0770.05719.24
5.4.180.0800.05719.12
5.4.170.0900.06318.99
5.4.160.0870.04719.07
5.4.150.0800.05019.24
5.4.140.0730.05316.54
5.4.130.0770.06016.39
5.4.120.0770.05016.30
5.4.110.0900.05316.30
5.4.100.0630.06316.31
5.4.90.1030.05316.52
5.4.80.0870.05716.54
5.4.70.0930.07016.32
5.4.60.0800.06016.50
5.4.50.0830.05316.53
5.4.40.0970.07316.40
5.4.30.0900.05716.30
5.4.20.1000.06316.51
5.4.10.0770.06316.35
5.4.00.1030.05716.02

preferences:
140.47 ms | 400 KiB | 5 Q