3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { function test($foo, $bar) {} } class Bar extends Foo { function test($foo, array $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.0090.00618.55
8.3.50.0110.00821.14
8.3.40.0000.01418.77
8.3.30.0060.00918.43
8.3.20.0050.00318.64
8.3.10.0030.00520.36
8.3.00.0030.00623.61
8.2.180.0100.00716.38
8.2.170.0110.00422.96
8.2.160.0000.01322.05
8.2.150.0050.00324.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0040.00419.40
8.2.110.0100.00022.03
8.2.100.0070.00717.47
8.2.90.0000.00818.92
8.2.80.0060.00317.97
8.2.70.0080.00017.50
8.2.60.0030.00517.79
8.2.50.0090.00018.07
8.2.40.0000.00718.09
8.2.30.0070.00019.72
8.2.20.0040.00417.60
8.2.10.0070.00017.48
8.2.00.0080.00017.59
8.1.280.0110.00725.92
8.1.270.0040.00423.99
8.1.260.0040.00426.35
8.1.250.0060.00328.09
8.1.240.0050.00520.62
8.1.230.0080.00320.95
8.1.220.0000.00818.77
8.1.210.0040.00418.80
8.1.200.0000.00917.22
8.1.190.0030.00517.28
8.1.180.0000.00918.10
8.1.170.0080.00018.84
8.1.160.0040.00418.69
8.1.150.0070.00018.51
8.1.140.0040.00417.28
8.1.130.0030.00517.80
8.1.120.0000.00817.36
8.1.110.0040.00417.36
8.1.100.0030.00317.31
8.1.90.0040.00417.25
8.1.80.0040.00417.23
8.1.70.0030.00317.36
8.1.60.0000.00717.46
8.1.50.0000.00717.25
8.1.40.0040.00417.38
8.1.30.0030.00617.49
8.1.20.0060.00317.45
8.1.10.0040.00417.37
8.1.00.0000.00817.27
8.0.300.0030.00319.84
8.0.290.0040.00416.75
8.0.280.0030.00318.37
8.0.270.0030.00317.04
8.0.260.0030.00316.79
8.0.250.0040.00416.84
8.0.240.0090.00316.77
8.0.230.0000.00716.85
8.0.220.0000.00716.80
8.0.210.0030.00316.79
8.0.200.0060.00016.86
8.0.190.0030.00316.87
8.0.180.0070.00316.90
8.0.170.0000.00816.85
8.0.160.0030.00716.86
8.0.150.0030.00616.64
8.0.140.0000.00816.80
8.0.130.0000.00513.29
8.0.120.0000.00716.69
8.0.110.0070.00016.64
8.0.100.0040.00416.79
8.0.90.0050.00216.64
8.0.80.0120.00316.73
8.0.70.0040.00416.67
8.0.60.0000.00716.64
8.0.50.0040.00416.88
8.0.30.0160.00916.87
8.0.20.0100.00817.40
8.0.10.0040.00416.98
8.0.00.0050.01216.64
7.4.330.0030.00314.66
7.4.320.0030.00316.36
7.4.300.0000.00616.43
7.4.290.0000.00616.39
7.4.280.0080.00016.44
7.4.270.0000.00616.38
7.4.260.0060.00013.17
7.4.250.0030.00616.34
7.4.240.0040.00416.36
7.4.230.0050.00216.36
7.4.220.0060.01216.50
7.4.210.0120.00516.40
7.4.200.0080.00016.12
7.4.190.0000.00716.23
7.4.160.0030.01316.25
7.4.150.0180.00017.40
7.4.140.0110.00717.86
7.4.130.0120.00516.53
7.4.120.0070.01016.35
7.4.110.0060.01316.35
7.4.100.0120.00616.38
7.4.90.0170.02716.21
7.4.80.0100.01019.04
7.4.70.0090.01616.19
7.4.60.0090.00816.45
7.4.50.0000.00916.29
7.4.40.0040.01422.27
7.4.30.0090.00616.61
7.4.00.0000.01614.34
7.3.330.0050.00013.05
7.3.320.0060.00013.06
7.3.310.0070.00016.05
7.3.300.0000.00816.14
7.3.290.0030.01016.21
7.3.280.0090.00816.26
7.3.270.0130.01017.40
7.3.260.0100.01118.24
7.3.250.0110.00616.24
7.3.240.0100.00716.25
7.3.230.0140.00416.39
7.3.210.0060.00916.22
7.3.200.0060.01319.39
7.3.190.0060.01416.14
7.3.180.0150.00016.25
7.3.170.0110.00716.27
7.3.160.0140.00716.21
7.3.120.0090.00614.77
7.2.330.0070.01116.36
7.2.320.0190.00316.38
7.2.310.0060.01416.47
7.2.300.0030.01316.47
7.2.290.0040.01216.10
7.2.60.0140.00716.75
7.1.200.0030.00615.19
7.1.100.0000.01317.93
7.1.70.0070.01116.63
7.1.60.0100.01319.40
7.1.50.0100.01016.83
7.1.00.0070.06322.46
7.0.200.0060.00616.57
7.0.140.0030.07322.21
7.0.60.0100.08020.02
7.0.50.0130.07717.81
7.0.40.0070.04020.25
7.0.30.0400.04720.06
7.0.20.0170.05720.25
7.0.10.0100.09020.23
7.0.00.0070.07720.07
5.6.280.0100.06321.12
5.6.210.0100.03320.77
5.6.200.0100.05718.14
5.6.190.0130.04720.34
5.6.180.3970.03320.52
5.6.170.0270.08320.47
5.6.160.0070.08720.52
5.6.150.0030.08018.29
5.6.140.0100.07718.16
5.6.130.0070.05018.23
5.6.120.0030.04720.97
5.6.110.0070.07020.98
5.6.100.0130.07721.11
5.6.90.0070.04021.00
5.6.80.0130.05320.41
5.6.70.4530.03720.28
5.5.350.0070.08020.43
5.5.340.0070.07717.99
5.5.330.0170.07020.40
5.5.320.0270.08320.34
5.5.310.0300.05020.30
5.5.300.0070.03718.08
5.5.290.0130.04018.07
5.5.280.0100.06720.97
5.5.270.0030.05020.98
5.5.260.0030.09020.96
5.5.250.0170.05720.59
5.5.240.0330.06020.19
5.4.450.0200.05019.42
5.4.440.0270.03719.65
5.4.430.0430.06719.56
5.4.420.0230.04019.16
5.4.410.0300.05719.26
5.4.400.0300.06019.22
5.4.390.0330.07319.14
5.4.380.0300.04719.21
5.4.370.0400.06018.84
5.4.360.0230.06318.95
5.4.350.0230.04018.89
5.4.340.0330.03319.09
5.4.320.0300.07719.07
5.4.310.0300.03318.98
5.4.300.0300.07319.14
5.4.290.0230.04019.08
5.4.280.0300.03719.30
5.4.270.0270.04319.22
5.4.260.0270.07319.14
5.4.250.0300.06718.98
5.4.240.0300.04318.95
5.4.230.0270.07018.99
5.4.220.0330.05719.23
5.4.210.0300.03719.14
5.4.200.0200.04019.19
5.4.190.0230.03718.94
5.4.180.0330.07319.08
5.4.170.0330.06718.83
5.4.160.0300.06318.97
5.4.150.0300.07019.14
5.4.140.0370.06016.56
5.4.130.0330.06316.34
5.4.120.0270.06716.54
5.4.110.0300.06716.41
5.4.100.0370.05716.50
5.4.90.0370.06316.42
5.4.80.0300.06716.39
5.4.70.0270.04016.49
5.4.60.0270.07316.28
5.4.50.0330.05716.51
5.4.40.0330.04016.38
5.4.30.0300.06316.28
5.4.20.0330.05716.48
5.4.10.0300.04716.55
5.4.00.0270.04316.28
5.3.290.0270.07316.28
5.3.280.0300.05016.28
5.3.270.0270.05316.28
5.3.260.0270.04016.28
5.3.250.0300.03316.28
5.3.240.0230.05016.28
5.3.230.0230.08016.28
5.3.220.0270.06716.28
5.3.210.0270.05316.28
5.3.200.0270.06316.28
5.3.190.0300.05716.28
5.3.180.0270.04016.28
5.3.170.0270.04016.28
5.3.160.0270.06716.28
5.3.150.0430.05016.28
5.3.140.0330.06316.28
5.3.130.0270.05316.28
5.3.120.0200.04316.28
5.3.110.0300.06016.28
5.3.100.0270.06016.28
5.3.90.0330.06016.28
5.3.80.0300.05316.28
5.3.70.0230.04716.28
5.3.60.0300.04316.28
5.3.50.0270.03316.28
5.3.40.0300.03016.28
5.3.30.0270.05016.28
5.3.20.0230.03316.28
5.3.10.0200.04316.28
5.3.00.0270.05716.28
5.2.170.0200.04316.28
5.2.160.0170.04016.28
5.2.150.0230.05716.28
5.2.140.0300.05016.28
5.2.130.0200.03316.28
5.2.120.0230.02316.28
5.2.110.0230.04316.28
5.2.100.0200.03316.28
5.2.90.0230.04316.28
5.2.80.0230.03316.28
5.2.70.0200.04716.28
5.2.60.0230.06016.28
5.2.50.0200.04016.28
5.2.40.0300.02316.28
5.2.30.0200.05016.28
5.2.20.0270.05016.28
5.2.10.0170.04316.28
5.2.00.0230.05316.28
5.1.60.0200.02016.28
5.1.50.0170.02716.28
5.1.40.0200.05016.28
5.1.30.0230.05716.28
5.1.20.0230.05316.28
5.1.10.0170.03716.28
5.1.00.0230.04016.28
5.0.50.0100.02316.28
5.0.40.0130.04316.28
5.0.30.0070.03716.28
5.0.20.0100.03016.28
5.0.10.0100.01716.28
5.0.00.0130.02716.28
4.4.90.0070.01716.28
4.4.80.0070.03316.28
4.4.70.0070.03716.28
4.4.60.0100.01716.28
4.4.50.0070.02016.28
4.4.40.0130.02716.28
4.4.30.0130.03016.28
4.4.20.0100.02716.28
4.4.10.0070.04016.28
4.4.00.0100.02316.28
4.3.110.0070.02316.28
4.3.100.0070.02016.28
4.3.90.0130.02016.28
4.3.80.0100.04716.28
4.3.70.0170.02316.28
4.3.60.0100.03716.28
4.3.50.0130.01716.28
4.3.40.0100.03316.28
4.3.30.0030.02716.28
4.3.20.0030.01716.28
4.3.10.0100.03316.28
4.3.00.0070.02716.28

preferences:
39.34 ms | 401 KiB | 5 Q