3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { protected function stuff() { var_dump('hi'); } } class Bar { public function stuff() { parent::stuff(); } } (new bar)->stuff();

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.0140.00416.75
8.3.50.0000.01518.16
8.3.40.0140.00018.62
8.3.30.0120.00318.58
8.3.20.0040.00420.21
8.3.10.0040.00423.61
8.3.00.0000.00919.60
8.2.180.0100.00718.29
8.2.170.0070.01422.96
8.2.160.0000.01320.39
8.2.150.0040.00425.66
8.2.140.0000.00824.66
8.2.130.0050.00319.30
8.2.120.0040.00426.35
8.2.110.0050.00519.37
8.2.100.0060.00617.72
8.2.90.0000.00719.09
8.2.80.0000.00817.97
8.2.70.0000.00917.25
8.2.60.0040.00417.77
8.2.50.0000.00718.07
8.2.40.0050.00520.34
8.2.30.0000.00820.75
8.2.20.0040.00417.54
8.2.10.0040.00417.91
8.2.00.0040.00417.91
8.1.280.0120.00325.92
8.1.270.0110.00720.24
8.1.260.0000.00828.09
8.1.250.0060.00328.09
8.1.240.0030.00623.77
8.1.230.0070.00420.85
8.1.220.0040.00417.74
8.1.210.0070.00318.77
8.1.200.0030.00617.23
8.1.190.0040.00417.00
8.1.180.0070.00018.10
8.1.170.0040.00418.52
8.1.160.0080.00020.66
8.1.150.0000.00718.63
8.1.140.0040.00419.54
8.1.130.0070.00417.48
8.1.120.0030.00317.37
8.1.110.0000.00717.24
8.1.100.0000.00717.22
8.1.90.0040.00417.26
8.1.80.0030.00417.22
8.1.70.0040.00417.19
8.1.60.0040.00417.44
8.1.50.0080.00017.30
8.1.40.0080.00017.38
8.1.30.0060.00317.48
8.1.20.0060.00317.49
8.1.10.0000.00817.30
8.1.00.0080.00017.33
8.0.300.0000.00718.77
8.0.290.0030.00516.58
8.0.280.0030.00318.20
8.0.270.0070.00017.17
8.0.260.0030.00317.07
8.0.250.0030.00316.89
8.0.240.0000.00716.88
8.0.230.0040.00416.88
8.0.220.0030.00316.87
8.0.210.0040.00416.81
8.0.200.0030.00316.91
8.0.190.0030.00616.92
8.0.180.0040.00416.85
8.0.170.0000.00816.80
8.0.160.0000.00816.81
8.0.150.0030.00316.71
8.0.140.0030.00516.80
8.0.130.0000.00613.22
8.0.120.0020.00616.69
8.0.110.0000.00816.86
8.0.100.0040.00416.79
8.0.90.0070.00016.61
8.0.80.0100.00716.85
8.0.70.0050.00316.75
8.0.60.0000.00716.78
8.0.50.0050.00216.79
8.0.30.0140.00416.82
8.0.20.0150.00517.40
8.0.10.0050.00316.93
8.0.00.0090.00716.68
7.4.330.0060.00015.08
7.4.320.0000.00616.38
7.4.300.0030.00316.56
7.4.290.0050.00216.34
7.4.280.0040.00416.63
7.4.270.0070.00016.57
7.4.260.0030.00316.54
7.4.250.0040.00416.35
7.4.240.0050.00316.50
7.4.230.0000.00716.52
7.4.220.0070.01516.46
7.4.210.0090.00816.44
7.4.200.0000.00716.26
7.4.160.0120.00916.26
7.4.150.0130.00617.40
7.4.140.0130.01017.86
7.4.130.0090.00916.61
7.4.120.0110.00716.58
7.4.110.0120.00616.34
7.4.100.0130.00316.50
7.4.90.0090.01316.44
7.4.80.0100.00719.39
7.4.70.0060.01016.49
7.4.60.0080.00816.54
7.4.50.0040.01216.25
7.4.40.0100.00716.59
7.4.30.0040.01316.49
7.4.00.0030.01014.92
7.3.330.0060.00413.35
7.3.320.0060.00013.28
7.3.310.0030.00316.36
7.3.300.0070.00016.20
7.3.290.0050.00216.36
7.3.280.0090.01016.33
7.3.270.0090.00917.40
7.3.260.0110.00716.37
7.3.250.0050.01616.45
7.3.240.0080.00816.56
7.3.230.0070.01016.39
7.3.210.0140.00316.29
7.3.200.0110.00616.45
7.3.190.0030.01316.57
7.3.180.0070.00716.34
7.3.170.0090.00916.59
7.3.160.0060.01616.26
7.3.10.0160.00516.21
7.3.00.0070.01016.13
7.2.330.0050.01616.61
7.2.320.0030.01416.59
7.2.310.0060.00916.53
7.2.300.0100.01316.34
7.2.290.0030.01716.38
7.2.130.0130.00616.62
7.2.120.0080.01616.40
7.2.110.0160.00616.38
7.2.100.0160.00816.46
7.2.90.0200.00616.60
7.2.80.0100.00716.66
7.2.70.0140.01016.56
7.2.60.0100.01216.47
7.2.50.0140.00316.48
7.2.40.0220.00816.66
7.2.30.0070.01416.66
7.2.20.0100.01416.26
7.2.10.0090.00616.42
7.2.00.0040.01017.73
7.1.250.0090.01215.39
7.1.200.0210.00615.69
7.1.100.0000.01118.00
7.1.70.0000.00716.90
7.1.60.0070.01719.52
7.1.50.0080.00416.84
7.1.00.0030.07722.57
7.0.200.0030.00616.85
7.0.60.0070.08020.04
7.0.50.0100.08017.83
7.0.40.0000.05319.96
7.0.30.0170.04020.20
7.0.20.0200.05020.20
7.0.10.0030.09020.09
7.0.00.0070.08020.29
5.6.280.0000.03320.87
5.6.210.0100.05020.63
5.6.200.0100.06318.29
5.6.190.0030.08720.43
5.6.180.0270.05020.63
5.6.170.0230.05020.47
5.6.160.0070.04020.46
5.6.150.0030.04018.18
5.6.140.0130.06318.27
5.6.130.0300.03318.25
5.6.120.0000.05021.10
5.6.110.0130.03720.99
5.6.100.0130.06320.99
5.6.90.0130.07021.04
5.6.80.0070.03720.41
5.5.350.0170.07720.48
5.5.340.0030.06017.96
5.5.330.0130.07720.32
5.5.320.0470.05320.28
5.5.310.0370.04720.31
5.5.300.0100.07318.02
5.5.290.0070.08317.98
5.5.280.0100.05020.97
5.5.270.0070.08020.73
5.5.260.0000.08020.84
5.5.250.0130.07720.55
5.5.240.0330.07020.16

preferences:
50.51 ms | 400 KiB | 5 Q