3v4l.org

run code in 300+ PHP versions simultaneously
<?php class ArrayClass { public function foo(array $foo) { // TODO } } class EverythingClass extends ArrayClass { public function foo($foo) { // TODO } }

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.130.0090.00018.39
8.3.120.0040.00418.95
8.3.110.0090.00020.94
8.3.100.0060.00324.06
8.3.90.0180.00026.77
8.3.80.0060.00317.97
8.3.70.0110.01116.58
8.3.60.0140.00016.38
8.3.50.0100.01016.30
8.3.40.0120.00318.41
8.3.30.0040.01118.54
8.3.20.0080.00020.09
8.3.10.0000.00822.09
8.3.00.0000.00823.66
8.2.250.0080.00018.21
8.2.240.0040.01418.86
8.2.230.0080.00022.58
8.2.220.0040.00737.54
8.2.210.0050.00226.77
8.2.200.0060.00318.17
8.2.190.0100.01018.16
8.2.180.0150.00025.92
8.2.170.0090.01318.84
8.2.160.0130.00720.35
8.2.150.0070.00024.18
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0070.00021.05
8.2.110.0060.00320.89
8.2.100.0040.00717.59
8.2.90.0050.00520.81
8.2.80.0050.00317.97
8.2.70.0000.00817.80
8.2.60.0050.00318.09
8.2.50.0050.00218.10
8.2.40.0040.00422.15
8.2.30.0040.00419.10
8.2.20.0080.00317.91
8.2.10.0040.00417.80
8.2.00.0040.00417.84
8.1.300.0060.00318.34
8.1.290.0090.00030.84
8.1.280.0070.00725.92
8.1.270.0080.00023.82
8.1.260.0100.00326.35
8.1.250.0040.00428.09
8.1.240.0030.00621.10
8.1.230.0130.00020.80
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0030.00617.10
8.1.190.0080.00016.88
8.1.180.0000.00918.10
8.1.170.0030.00618.53
8.1.160.0040.00418.66
8.1.150.0030.00420.11
8.1.140.0040.00417.22
8.1.130.0060.00018.93
8.1.120.0040.00417.39
8.1.110.0000.00817.35
8.1.100.0020.00517.29
8.1.90.0060.00317.19
8.1.80.0000.00717.34
8.1.70.0050.00317.33
8.1.60.0040.00417.30
8.1.50.0000.00817.39
8.1.40.0000.00817.39
8.1.30.0070.00017.48
8.1.20.0000.00717.41
8.1.10.0000.00817.28
8.1.00.0030.00617.32
8.0.300.0040.00419.68
8.0.290.0060.00316.61
8.0.280.0040.00418.30
8.0.270.0070.00017.12
8.0.260.0040.00418.37
8.0.250.0040.00416.71
8.0.240.0070.00016.77
8.0.230.0030.00316.68
8.0.220.0030.00316.78
8.0.210.0070.00016.65
8.0.200.0000.00616.68
8.0.190.0080.00016.84
8.0.180.0030.00516.80
8.0.170.0040.00416.71
8.0.160.0070.00016.65
8.0.150.0000.00816.72
8.0.140.0060.00316.74
8.0.130.0030.00313.22
8.0.120.0050.00216.57
8.0.110.0050.00216.77
8.0.100.0060.00316.77
8.0.90.0000.00816.66
8.0.80.0040.01116.78
8.0.70.0040.00416.61
8.0.60.0040.00416.71
8.0.50.0030.00516.74
8.0.30.0120.00816.96
8.0.20.0130.00817.40
8.0.10.0000.00716.85
8.0.00.0100.00716.63
7.4.330.0000.00415.55
7.4.320.0040.00416.48
7.4.300.0030.00316.45
7.4.290.0000.00716.31
7.4.280.0040.00416.37
7.4.270.0030.00316.30
7.4.260.0070.00016.25
7.4.250.0040.00416.32
7.4.240.0000.00716.44
7.4.230.0030.00316.49
7.4.220.0100.01016.41
7.4.210.0030.01516.43
7.4.200.0040.00416.41
7.4.160.0060.01116.39
7.4.150.0190.00017.40
7.4.140.0120.00617.86
7.4.130.0130.00416.43
7.4.120.0070.01316.44
7.4.110.0140.00816.21
7.4.100.0100.01016.26
7.4.90.0110.00616.41
7.4.80.0100.00719.39
7.4.70.0090.00816.29
7.4.60.0000.01616.34
7.4.50.0140.00016.20
7.4.40.0110.01116.27
7.4.30.0060.01016.41
7.4.00.0040.01115.12
7.3.330.0000.00513.13
7.3.320.0030.00313.04
7.3.310.0070.00016.07
7.3.300.0000.00816.15
7.3.290.0030.01016.24
7.3.280.0090.00816.14
7.3.270.0090.00917.40
7.3.260.0080.01216.29
7.3.250.0130.00816.34
7.3.240.0050.01116.33
7.3.230.0130.00316.44
7.3.210.0100.00716.14
7.3.200.0090.00616.25
7.3.190.0110.00816.19
7.3.180.0030.01316.42
7.3.170.0090.00616.34
7.3.160.0130.00316.39
7.2.330.0080.00816.32
7.2.320.0120.00416.42
7.2.310.0130.01016.21
7.2.300.0070.01016.13
7.2.290.0100.00616.39
7.2.110.0210.00616.27
7.2.60.0000.01116.52
7.1.200.0040.00415.42
7.1.100.2140.00716.17
7.1.90.0140.00715.72
7.1.80.0120.01316.07
7.1.70.0100.00715.11
7.1.60.4120.01332.91
7.1.50.0260.01032.76
7.1.40.0200.01432.22
7.1.30.0230.01032.56
7.1.20.0190.01632.41
7.1.10.0040.01114.66
7.1.00.0060.01514.60
7.0.240.2170.00315.63
7.0.230.0150.00615.66
7.0.220.0070.01015.85
7.0.210.0120.00414.36
7.0.200.1360.01514.77
7.0.190.0080.01214.45
7.0.180.0150.01514.35
7.0.170.0090.00914.31
7.0.160.0110.00714.19
7.0.150.0060.00914.43
7.0.140.0710.01014.24
7.0.130.0160.00814.39
7.0.120.2880.01214.26
7.0.110.3250.01214.22
7.0.100.3040.01214.20
7.0.90.1870.00714.20
7.0.80.0130.00914.30
7.0.70.2530.00714.41
7.0.60.3130.01014.18
7.0.50.2520.00914.28
7.0.40.0190.00214.57
7.0.30.0180.00314.72
7.0.20.2070.01114.33
7.0.10.2230.01014.35
7.0.00.0050.01514.57

preferences:
70.49 ms | 403 KiB | 5 Q