3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { public function foo($bar) { } } class B extends A { public function foo(object $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.130.0060.00318.52
8.3.120.0080.00818.85
8.3.110.0000.00820.94
8.3.100.0060.00318.62
8.3.90.0100.01016.63
8.3.80.0070.00318.30
8.3.70.0110.00316.58
8.3.60.0090.01218.31
8.3.50.0110.00523.64
8.3.40.0120.00918.72
8.3.30.0060.01218.54
8.3.20.0070.00021.80
8.3.10.0050.00320.21
8.3.00.0090.00023.52
8.2.250.0030.00616.57
8.2.240.0050.00316.48
8.2.230.0030.00522.58
8.2.220.0040.00424.06
8.2.210.0120.00626.77
8.2.200.0070.00416.50
8.2.190.0120.00916.75
8.2.180.0120.00625.92
8.2.170.0110.00418.78
8.2.160.0060.00622.96
8.2.150.0040.00424.18
8.2.140.0050.00224.66
8.2.130.0050.00226.16
8.2.120.0040.00426.16
8.2.110.0060.00322.08
8.2.100.0130.00017.59
8.2.90.0040.00419.15
8.2.80.0030.00617.97
8.2.70.0060.00317.13
8.2.60.0050.00317.80
8.2.50.0060.00318.07
8.2.40.0060.00317.97
8.2.30.0000.00817.81
8.2.20.0040.00417.93
8.2.10.0070.00019.03
8.2.00.0030.00519.04
8.1.300.0160.00316.14
8.1.290.0030.00630.84
8.1.280.0110.00425.92
8.1.270.0050.00322.57
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0060.00322.34
8.1.230.0090.00617.57
8.1.220.0080.00017.74
8.1.210.0000.00818.77
8.1.200.0080.00017.35
8.1.190.0050.00317.11
8.1.180.0030.00618.10
8.1.170.0030.00518.66
8.1.160.0040.00419.00
8.1.150.0050.00218.80
8.1.140.0030.00522.09
8.1.130.0030.00320.03
8.1.120.0030.00717.26
8.1.110.0000.00717.32
8.1.100.0000.00717.31
8.1.90.0080.00017.31
8.1.80.0050.00317.28
8.1.70.0030.00317.21
8.1.60.0040.00417.36
8.1.50.0040.00417.41
8.1.40.0000.00817.29
8.1.30.0080.00017.41
8.1.20.0000.00817.57
8.1.10.0000.00717.41
8.1.00.0080.00017.20
8.0.300.0040.00418.77
8.0.290.0000.00716.63
8.0.280.0040.00418.21
8.0.270.0070.00017.81
8.0.260.0030.00319.78
8.0.250.0000.00716.80
8.0.240.0060.00316.75
8.0.230.0000.00816.85
8.0.220.0070.00016.82
8.0.210.0040.00416.68
8.0.200.0030.00316.87
8.0.190.0040.00316.82
8.0.180.0030.00516.75
8.0.170.0000.00816.88
8.0.160.0000.00716.78
8.0.150.0040.00416.59
8.0.140.0080.00316.78
8.0.130.0050.00013.25
8.0.120.0000.00816.80
8.0.110.0020.00516.64
8.0.100.0040.00416.80
8.0.90.0080.00016.84
8.0.80.0030.01216.80
8.0.70.0000.00716.88
8.0.60.0070.00016.78
8.0.50.0040.00416.70
8.0.30.0100.00716.79
8.0.20.0150.00416.85
8.0.10.0000.00816.92
8.0.00.0090.00916.72
7.4.330.0050.00015.55
7.4.320.0000.00616.43
7.4.300.0000.00616.38
7.4.290.0050.00316.48
7.4.280.0030.00616.38
7.4.270.0040.00416.38
7.4.260.0030.00313.14
7.4.250.0030.00316.42
7.4.240.0020.00516.45
7.4.230.0030.00316.47
7.4.220.0020.00516.41
7.4.210.0100.00616.46
7.4.200.0050.00216.54
7.4.140.0160.00817.86
7.4.130.0040.01716.35
7.4.120.0120.01216.38
7.4.110.0050.01416.25
7.4.100.0140.00316.29
7.4.90.0100.00716.34
7.4.80.0070.01019.39
7.4.70.0140.00316.26
7.4.60.0060.00916.45
7.4.50.0040.01416.23
7.4.40.0160.00016.50
7.4.00.0060.00914.63
7.3.330.0030.00316.27
7.3.320.0060.00013.01
7.3.310.0000.00716.27
7.3.300.0030.00316.18
7.3.290.0090.00716.25
7.3.280.0060.00916.23
7.3.260.0120.00816.48
7.3.240.0130.00616.30
7.3.230.0060.01216.39
7.3.210.0070.01016.30
7.3.200.0090.00916.30
7.3.190.0160.00716.23
7.3.180.0100.00716.31
7.3.170.0130.00516.21
7.3.160.0070.01016.34
7.3.120.0050.01014.32
7.3.110.0090.00614.71
7.3.100.0060.00914.70
7.3.90.0070.00714.43
7.3.80.0090.00614.35
7.3.70.0060.00914.69
7.3.60.0030.01014.40
7.3.50.0060.00914.33
7.3.40.0070.00714.23
7.3.30.0090.00614.51
7.3.20.0090.00914.58
7.3.10.0130.00314.59
7.3.00.0060.00914.39
7.2.330.0120.01216.59
7.2.320.0100.00616.21
7.2.310.0140.00716.25
7.2.300.0120.01216.36
7.2.290.0100.00916.38
7.2.250.0120.00314.80
7.2.240.0000.01514.76
7.2.230.0130.00914.63
7.2.220.0060.01014.41
7.2.210.0000.01614.47
7.2.200.0070.01014.32
7.2.190.0100.00714.55
7.2.180.0060.00914.41
7.2.170.0000.01414.46
7.2.160.0080.00614.69
7.2.150.0130.00914.84
7.2.140.0060.01214.80
7.2.130.0080.00814.81
7.2.120.0140.00314.89
7.2.110.0030.01314.55
7.2.100.0110.01114.63
7.2.90.0060.01114.73
7.2.80.0070.01114.71
7.2.70.0300.01314.96
7.2.60.0030.02014.71
7.2.50.0160.01514.59
7.2.40.0060.01314.55
7.2.30.0110.01114.63
7.2.20.0090.01314.38
7.2.10.0120.00514.97
7.2.00.0030.01214.86

preferences:
26.24 ms | 403 KiB | 5 Q