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.88
8.3.50.0110.00721.91
8.3.40.0100.01018.64
8.3.30.0060.00818.71
8.3.20.0060.00920.24
8.3.10.0040.00423.66
8.3.00.0000.00819.75
8.2.180.0060.00918.19
8.2.170.0150.00622.96
8.2.160.0100.00320.39
8.2.150.0050.00324.18
8.2.140.0090.00024.66
8.2.130.0040.00419.30
8.2.120.0050.00326.35
8.2.110.0060.00320.47
8.2.100.0040.00717.80
8.2.90.0000.00819.14
8.2.80.0000.00917.97
8.2.70.0060.00317.50
8.2.60.0030.00617.80
8.2.50.0060.00318.07
8.2.40.0050.00321.20
8.2.30.0070.00020.54
8.2.20.0020.00517.58
8.2.10.0040.00417.98
8.2.00.0030.00618.06
8.1.280.0110.00725.92
8.1.270.0050.00318.70
8.1.260.0040.00428.09
8.1.250.0030.00528.09
8.1.240.0030.00623.97
8.1.230.0070.00421.00
8.1.220.0030.00617.74
8.1.210.0090.00018.77
8.1.200.0030.00617.36
8.1.190.0050.00517.41
8.1.180.0000.00818.10
8.1.170.0000.00818.63
8.1.160.0030.00520.61
8.1.150.0050.00218.86
8.1.140.0000.00819.41
8.1.130.0030.00317.68
8.1.120.0070.00017.31
8.1.110.0020.00517.31
8.1.100.0050.00317.38
8.1.90.0040.00417.38
8.1.80.0080.00017.29
8.1.70.0040.00417.40
8.1.60.0030.00517.47
8.1.50.0040.00417.55
8.1.40.0040.00717.58
8.1.30.0000.00817.59
8.1.20.0070.00017.65
8.1.10.0040.00417.63
8.1.00.0050.00217.48
8.0.300.0080.00018.77
8.0.290.0000.00716.58
8.0.280.0000.00818.25
8.0.270.0030.00317.10
8.0.260.0060.00017.13
8.0.250.0030.00316.96
8.0.240.0080.00016.91
8.0.230.0030.00617.01
8.0.220.0030.00316.88
8.0.210.0000.00716.82
8.0.200.0000.00616.98
8.0.190.0030.00516.95
8.0.180.0000.00816.93
8.0.170.0030.00616.92
8.0.160.0000.00816.82
8.0.150.0030.00316.91
8.0.140.0030.00816.77
8.0.130.0050.00013.23
8.0.120.0000.00816.81
8.0.110.0040.00416.98
8.0.100.0070.00016.92
8.0.90.0000.00716.84
8.0.80.0080.00816.85
8.0.70.0000.00716.79
8.0.60.0030.00416.83
8.0.50.0040.00316.84
8.0.30.0140.00617.09
8.0.20.0120.00717.40
8.0.10.0050.00316.87
8.0.00.0110.00916.75
7.4.330.0000.00516.78
7.4.320.0000.00616.45
7.4.300.0030.00316.44
7.4.290.0040.00416.52
7.4.280.0030.00616.59
7.4.270.0070.00016.64
7.4.260.0040.00416.48
7.4.250.0040.00416.46
7.4.240.0080.00016.62
7.4.230.0000.00716.34
7.4.220.0100.00716.44
7.4.210.0100.00416.60
7.4.200.0070.00016.60
7.4.160.0150.00016.46
7.4.150.0090.00917.40
7.4.140.0160.00917.86
7.4.130.0100.00816.49
7.4.120.0060.01116.44
7.4.110.0130.01016.58
7.4.100.0100.00616.47
7.4.90.0100.00716.44
7.4.80.0120.00919.39
7.4.70.0110.00616.56
7.4.60.0060.01216.50
7.4.50.0060.00916.64
7.4.40.0130.00316.51
7.4.30.0060.01416.52
7.4.00.0100.00314.93
7.3.330.0000.00713.25
7.3.320.0050.00013.40
7.3.310.0030.00316.52
7.3.300.0030.00316.30
7.3.290.0090.00716.40
7.3.280.0140.00316.44
7.3.270.0090.00917.40
7.3.260.0140.00316.24
7.3.250.0050.01316.44
7.3.240.0100.01016.29
7.3.230.0120.00616.39
7.3.210.0100.00616.39
7.3.200.0110.00816.47
7.3.190.0040.01716.77
7.3.180.0060.01516.65
7.3.170.0120.00916.50
7.3.160.0040.01116.31
7.2.330.0090.00916.68
7.2.320.0030.00716.66
7.2.310.0000.02116.56
7.2.300.0100.00616.45
7.2.290.0060.01116.38
7.2.60.0040.01216.73
7.2.00.0030.00919.53
7.1.200.0030.01015.79
7.1.100.0030.00518.32
7.1.70.0030.01016.80
7.1.60.0090.01319.13
7.1.50.0060.01616.85
7.1.00.0030.05722.40
7.0.200.0070.00316.59
7.0.60.0070.04019.87
7.0.50.0070.04717.88
7.0.40.0030.04320.05
7.0.30.0400.07020.15
7.0.20.0330.08020.23
7.0.10.0000.06020.21
7.0.00.0200.04720.24
5.6.280.0030.03021.13
5.6.210.0130.07320.57
5.6.200.0130.05318.20
5.6.190.0100.08320.61
5.6.180.0030.06320.63
5.6.170.0270.08320.55
5.6.160.0030.06720.48
5.6.150.0130.04718.27
5.6.140.0130.03318.17
5.6.130.0170.06318.24
5.6.120.0070.06721.15
5.6.110.0100.04020.99
5.6.100.0070.05021.01
5.6.90.0070.06321.12
5.6.80.0100.07320.40
5.5.350.4170.04020.45
5.5.340.0000.08717.97
5.5.330.0070.04320.58
5.5.320.0470.06020.30
5.5.310.0170.04720.51
5.5.300.0130.06017.98
5.5.290.0130.07317.94
5.5.280.0100.05320.79
5.5.270.0100.05020.85
5.5.260.0030.09320.68
5.5.250.0070.03720.72
5.5.240.0100.08320.04

preferences:
45.43 ms | 401 KiB | 5 Q