3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { } class B { public function test(A $a) { var_dump($a); } } class C extends B { public function test($a) { parent::test($a); } } $c = new C; $c->test(new A);

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.0100.00716.62
8.3.50.0070.00718.16
8.3.40.0060.00918.89
8.3.30.0120.00318.60
8.3.20.0110.00420.04
8.3.10.0040.00423.41
8.3.00.0050.00319.97
8.2.180.0120.00918.29
8.2.170.0110.00422.96
8.2.160.0100.00320.39
8.2.150.0040.00424.18
8.2.140.0090.00024.66
8.2.130.0080.00019.39
8.2.120.0000.00826.35
8.2.110.0030.00620.33
8.2.100.0040.00817.93
8.2.90.0050.00319.28
8.2.80.0090.00017.97
8.2.70.0050.00517.59
8.2.60.0050.00317.66
8.2.50.0060.00318.07
8.2.40.0050.00321.11
8.2.30.0040.00420.64
8.2.20.0040.00417.66
8.2.10.0050.00217.86
8.2.00.0000.00818.05
8.1.280.0070.00725.92
8.1.270.0040.00418.88
8.1.260.0040.00428.09
8.1.250.0000.00828.09
8.1.240.0100.00723.83
8.1.230.0040.00719.10
8.1.220.0080.00017.74
8.1.210.0050.00318.77
8.1.200.0050.00517.35
8.1.190.0000.00817.28
8.1.180.0030.00518.10
8.1.170.0040.00418.46
8.1.160.0040.00420.73
8.1.150.0000.00718.80
8.1.140.0090.00019.41
8.1.130.0070.00017.66
8.1.120.0080.00017.37
8.1.110.0070.00017.29
8.1.100.0040.00417.29
8.1.90.0070.00017.25
8.1.80.0080.00317.36
8.1.70.0070.00017.28
8.1.60.0040.00417.53
8.1.50.0060.00317.50
8.1.40.0000.01017.57
8.1.30.0000.00817.65
8.1.20.0050.00317.58
8.1.10.0070.00017.39
8.1.00.0060.00317.45
8.0.300.0070.00018.77
8.0.290.0040.00416.63
8.0.280.0000.00718.34
8.0.270.0030.00317.19
8.0.260.0030.00317.20
8.0.250.0000.00816.96
8.0.240.0030.00516.92
8.0.230.0090.00016.95
8.0.220.0030.00316.82
8.0.210.0030.00316.94
8.0.200.0000.00616.82
8.0.190.0080.00016.93
8.0.180.0040.00416.79
8.0.170.0060.00316.92
8.0.160.0030.00516.88
8.0.150.0000.00816.92
8.0.140.0030.00716.81
8.0.130.0050.00013.31
8.0.120.0000.00716.81
8.0.110.0000.00716.79
8.0.100.0000.00716.75
8.0.90.0070.00016.77
8.0.80.0090.00616.87
8.0.70.0040.00416.75
8.0.60.0020.00516.86
8.0.50.0000.00716.73
8.0.30.0070.01317.11
8.0.20.0090.01217.40
8.0.10.0030.00316.95
8.0.00.0110.00916.56
7.4.330.0050.00016.77
7.4.320.0000.00616.55
7.4.300.0000.00616.50
7.4.290.0040.00416.61
7.4.280.0030.00616.43
7.4.270.0030.00316.59
7.4.260.0030.00316.57
7.4.250.0030.00616.45
7.4.240.0050.00216.42
7.4.230.0030.00316.29
7.4.220.0060.01116.69
7.4.210.0100.01016.46
7.4.200.0000.00716.33
7.4.160.0090.00616.25
7.4.150.0170.00717.40
7.4.140.0130.01117.86
7.4.130.0150.00816.46
7.4.120.0110.00716.50
7.4.110.0140.00416.38
7.4.100.0150.00616.48
7.4.90.0130.00316.64
7.4.80.0060.01219.39
7.4.70.0040.01316.57
7.4.60.0110.00816.45
7.4.50.0000.01716.31
7.4.40.0100.00616.50
7.4.30.0130.00416.40
7.4.00.0060.00814.97
7.3.330.0030.00313.30
7.3.320.0050.00013.04
7.3.310.0030.00316.25
7.3.300.0000.00616.25
7.3.290.0070.01016.21
7.3.280.0120.00516.20
7.3.270.0110.00717.40
7.3.260.0100.00616.36
7.3.250.0120.00616.26
7.3.240.0050.01416.24
7.3.230.0110.00816.39
7.3.210.0060.00916.20
7.3.200.0190.00316.43
7.3.190.0180.00416.30
7.3.180.0070.01416.32
7.3.170.0120.00916.38
7.3.160.0060.00916.53
7.2.330.0030.01416.36
7.2.320.0110.00216.55
7.2.310.0110.00716.48
7.2.300.0070.01016.35
7.2.290.0110.00616.73
7.2.60.0110.00416.72
7.2.00.0000.01319.13
7.1.200.0030.01015.41
7.1.100.0040.00818.14
7.1.70.0040.00817.13
7.1.60.0110.01419.13
7.1.50.0100.01017.00
7.1.00.0070.07322.42
7.0.200.0040.00416.71
7.0.60.0100.05720.03
7.0.50.0070.07317.87
7.0.40.0070.04020.11
7.0.30.0300.04320.08
7.0.20.0270.07320.24
7.0.10.0070.05020.12
7.0.00.0030.08720.21
5.6.280.0000.03721.14
5.6.210.0070.06020.70
5.6.200.0070.04018.19
5.6.190.0070.08320.57
5.6.180.0130.08020.33
5.6.170.0330.07720.59
5.6.160.0130.05720.54
5.6.150.0030.08018.19
5.6.140.0100.05718.15
5.6.130.0130.06718.18
5.6.120.0030.09021.13
5.6.110.0000.05721.02
5.6.100.0070.05321.05
5.6.90.0200.07320.95
5.6.80.0100.07020.44
5.5.350.3830.03020.53
5.5.340.0100.06718.02
5.5.330.0070.03720.31
5.5.320.0400.04720.27
5.5.310.0230.03720.38
5.5.300.0100.07717.98
5.5.290.0170.06718.09
5.5.280.0070.08320.89
5.5.270.0030.08720.68
5.5.260.0030.08320.96
5.5.250.0030.04320.69
5.5.240.0100.08320.24

preferences:
55.32 ms | 401 KiB | 5 Q