3v4l.org

run code in 300+ PHP versions simultaneously
<?php class a { protected function b() { echo 'Parent'; } public function test() { $this->b(); } } class b extends a { protected function b() { echo 'Child'; } } $o = new b(); $o->test();

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.70.0120.00616.63
8.3.60.0070.00716.49
8.3.50.0050.01418.26
8.3.40.0160.00618.54
8.3.30.0070.00718.59
8.3.20.0070.00021.71
8.3.10.0080.00021.78
8.3.00.0090.00917.89
8.2.190.0080.01216.63
8.2.180.0100.01018.23
8.2.170.0070.00722.96
8.2.160.0170.00020.52
8.2.150.0040.00424.18
8.2.140.0090.00324.66
8.2.130.0030.00620.35
8.2.120.0110.00426.35
8.2.110.0090.00022.24
8.2.100.0130.00017.72
8.2.90.0040.00418.98
8.2.80.0030.00517.97
8.2.70.0030.00617.50
8.2.60.0040.00418.04
8.2.50.0070.00018.10
8.2.40.0000.00820.41
8.2.30.0050.00219.10
8.2.20.0000.00717.97
8.2.10.0000.00817.99
8.2.00.0000.00718.04
8.1.280.0120.00325.92
8.1.270.0030.00520.73
8.1.260.0080.00026.35
8.1.250.0070.00028.09
8.1.240.0060.00323.92
8.1.230.0070.00317.70
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0030.00717.10
8.1.190.0000.01117.23
8.1.180.0020.00518.10
8.1.170.0050.00318.46
8.1.160.0040.00419.00
8.1.150.0040.00418.82
8.1.140.0040.00419.43
8.1.130.0000.00718.70
8.1.120.0040.00417.38
8.1.110.0030.00617.41
8.1.100.0000.00717.38
8.1.90.0080.00017.25
8.1.80.0000.00717.39
8.1.70.0000.00717.28
8.1.60.0030.00517.50
8.1.50.0000.00917.39
8.1.40.0040.00417.49
8.1.30.0050.00317.65
8.1.20.0020.00517.63
8.1.10.0040.00417.55
8.1.00.0060.00317.56
8.0.300.0040.00418.77
8.0.290.0000.00916.75
8.0.280.0030.00318.50
8.0.270.0030.00317.24
8.0.260.0060.00319.02
8.0.250.0050.00516.75
8.0.240.0000.00716.93
8.0.230.0040.00416.82
8.0.220.0030.00316.73
8.0.210.0030.00316.83
8.0.200.0030.00516.81
8.0.190.0030.00616.84
8.0.180.0030.00816.84
8.0.170.0000.00816.68
8.0.160.0000.00716.90
8.0.150.0000.00716.77
8.0.140.0030.00316.69
8.0.130.0000.00613.18
8.0.120.0000.00816.67
8.0.110.0070.00016.85
8.0.100.0040.00416.84
8.0.90.0000.00716.76
8.0.80.0000.01416.80
8.0.70.0040.00416.69
8.0.60.0040.00416.89
8.0.50.0000.00716.65
8.0.30.0070.01116.79
8.0.20.0100.00917.40
8.0.10.0040.00417.04
8.0.00.0090.01216.83
7.4.330.0050.00015.55
7.4.320.0070.00016.52
7.4.300.0000.00616.42
7.4.290.0060.00316.38
7.4.280.0070.00016.55
7.4.270.0070.00016.48
7.4.260.0060.00416.41
7.4.250.0040.00416.42
7.4.240.0030.00316.37
7.4.230.0080.00016.54
7.4.220.0040.01516.58
7.4.210.0100.00716.47
7.4.200.0000.00716.28
7.4.160.0060.00916.48
7.4.150.0100.01317.40
7.4.140.0110.00817.86
7.4.130.0160.00316.46
7.4.120.0130.00816.39
7.4.110.0100.00716.55
7.4.100.0110.00816.55
7.4.90.0130.00316.45
7.4.80.0070.01119.39
7.4.70.0110.00616.34
7.4.60.0140.00716.52
7.4.50.0040.00716.38
7.4.40.0100.00716.43
7.4.30.0100.00716.32
7.4.00.0070.00714.94
7.3.330.0030.00313.30
7.3.320.0000.00513.33
7.3.310.0070.00016.17
7.3.300.0000.00716.29
7.3.290.0060.00916.28
7.3.280.0060.01016.28
7.3.270.0100.00717.40
7.3.260.0070.01116.24
7.3.250.0110.01016.43
7.3.240.0090.00816.46
7.3.230.0060.01016.54
7.3.210.0160.00016.20
7.3.200.0090.00916.32
7.3.190.0070.01316.48
7.3.180.0100.00616.36
7.3.170.0070.01316.29
7.3.160.0150.00316.34
7.3.10.0060.01016.49
7.3.00.0030.00716.73
7.2.330.0060.01216.38
7.2.320.0060.01616.52
7.2.310.0070.01016.59
7.2.300.0140.00316.61
7.2.290.0120.00616.67
7.2.130.0080.00616.59
7.2.120.0070.00716.82
7.2.110.0070.00716.65
7.2.100.0000.01116.73
7.2.90.0100.00316.85
7.2.80.0090.00916.64
7.2.70.0070.01016.66
7.2.60.0050.00916.88
7.2.50.0070.00416.54
7.2.40.0060.00916.62
7.2.30.0070.00716.89
7.2.20.0040.00716.68
7.2.10.0000.01316.82
7.2.00.0050.00417.91
7.1.250.0060.00615.63
7.1.200.0100.00315.53
7.1.70.0060.00317.03
7.1.60.0100.00016.86
7.1.50.0110.00416.86
7.1.40.0080.00316.52
7.1.30.0000.01116.36
7.1.20.0110.00416.70
7.1.10.0030.00616.23
7.1.00.0000.00816.48
7.0.200.0050.00216.76
7.0.190.0000.00716.65
7.0.180.0070.00316.24
7.0.170.0000.00916.36
7.0.160.0000.00916.13
7.0.150.0030.00616.24
7.0.140.0000.00816.19
7.0.130.0000.00716.61
7.0.120.0040.00416.52
7.0.110.0000.01116.39
7.0.100.0030.00916.53
7.0.90.0070.00716.15
7.0.80.0000.01116.52
7.0.70.0040.00416.46
7.0.60.0000.00716.09
7.0.50.0040.00416.32
7.0.40.0090.00014.70
7.0.30.0000.00714.70
7.0.20.0000.00914.70
7.0.10.0090.00014.70
7.0.00.0090.00314.70

preferences:
60.7 ms | 401 KiB | 5 Q