3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Base { public function ProcessInput() { $this->Handler(); } public function Handler() { // Some default code or just leave empty echo "Base Hander() is called\n"; } } class Specific extends Base { public function Handler() { echo "Specific Hander() is called\n"; } } $spec = new Specific; $spec->ProcessInput();

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.4.130.0050.00418.44
8.4.120.0120.00820.75
8.4.110.0120.00822.66
8.4.100.0100.01117.78
8.4.90.0100.01018.69
8.4.80.0110.00517.92
8.4.70.0100.00917.69
8.4.60.0090.01218.88
8.4.50.0110.00917.77
8.4.40.0130.00617.58
8.4.30.0100.00018.71
8.4.20.0030.01617.94
8.4.10.0040.00417.75
8.3.260.0020.00716.26
8.3.250.0080.01018.70
8.3.240.0060.00516.59
8.3.230.0110.00916.52
8.3.220.0050.00416.95
8.3.210.0120.00718.52
8.3.200.0040.00516.21
8.3.190.0110.00716.59
8.3.180.0130.00618.68
8.3.170.0000.00819.07
8.3.160.0210.00316.53
8.3.150.0160.00318.62
8.3.140.0090.00916.67
8.3.130.0130.00318.27
8.3.120.0080.00318.55
8.3.110.0030.00718.28
8.3.100.0000.00816.69
8.3.90.0000.00826.77
8.3.80.0100.00019.36
8.3.70.0060.00916.58
8.3.60.0070.01516.63
8.3.50.0040.01116.15
8.3.40.0040.01118.67
8.3.30.0140.00018.77
8.3.20.0040.00424.18
8.3.10.0040.00424.66
8.3.00.0000.00826.16
8.2.290.0110.00820.32
8.2.280.0110.00818.19
8.2.270.0040.00417.03
8.2.260.0140.00318.79
8.2.250.0100.01018.47
8.2.240.0090.00919.01
8.2.230.0030.00620.94
8.2.220.0030.00924.06
8.2.210.0040.00426.77
8.2.200.0060.00318.88
8.2.190.0090.01218.54
8.2.180.0070.01125.92
8.2.170.0120.00618.82
8.2.160.0070.00722.96
8.2.150.0040.00425.66
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00421.11
8.2.110.0060.00319.08
8.2.100.0040.00817.91
8.2.90.0030.00617.61
8.2.80.0040.00419.17
8.2.70.0060.00317.25
8.2.60.0050.00317.80
8.2.50.0040.00418.07
8.2.40.0040.00418.22
8.2.30.0000.00718.03
8.2.20.0040.00417.95
8.2.10.0070.00019.05
8.2.00.0000.00719.08
8.1.330.0120.00621.71
8.1.320.0100.00716.07
8.1.310.0100.00716.55
8.1.300.0040.00418.54
8.1.290.0040.00730.84
8.1.280.0110.00725.92
8.1.270.0050.00323.97
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0080.00022.06
8.1.230.0090.00320.88
8.1.220.0070.00017.74
8.1.210.0060.00318.85
8.1.200.0030.00717.22
8.1.190.0000.00917.23
8.1.180.0000.00918.10
8.1.170.0050.00318.39
8.1.160.0000.00718.86
8.1.150.0030.00518.83
8.1.140.0040.00618.70
8.1.130.0040.00420.07
8.1.120.0000.00717.40
8.1.110.0040.00417.37
8.1.100.0000.00817.41
8.1.90.0000.00817.32
8.1.80.0000.00717.27
8.1.70.0070.00017.37
8.1.60.0040.00417.63
8.1.50.0080.00017.50
8.1.40.0030.00517.51
8.1.30.0000.00817.71
8.1.20.0000.00917.54
8.1.10.0050.00317.50
8.1.00.0080.00417.50
8.0.300.0070.00020.16
8.0.290.0050.00216.75
8.0.280.0040.00418.45
8.0.270.0000.00818.05
8.0.260.0000.00618.36
8.0.250.0070.00016.95
8.0.240.0030.00616.88
8.0.230.0060.00016.90
8.0.220.0000.00716.74
8.0.210.0000.00716.71
8.0.200.0030.00316.84
8.0.190.0080.00016.88
8.0.180.0030.00316.76
8.0.170.0090.00016.90
8.0.160.0080.00016.79
8.0.150.0000.00716.78
8.0.140.0030.00416.62
8.0.130.0050.00013.29
8.0.120.0060.00316.70
8.0.110.0000.00816.87
8.0.100.0070.00016.63
8.0.90.0030.00316.71
8.0.80.0090.00716.79
8.0.70.0040.00416.71
8.0.60.0050.00216.76
8.0.50.0050.00316.84
8.0.30.0070.01416.87
8.0.20.0120.01216.80
8.0.10.0070.01016.92
8.0.00.0140.01016.86
7.4.330.0000.00515.55
7.4.320.0030.00316.45
7.4.300.0000.00616.49
7.4.290.0070.00016.49
7.4.280.0030.00616.40
7.4.270.0040.00416.58
7.4.260.0060.00013.22
7.4.250.0000.00716.47
7.4.240.0000.00816.52
7.4.230.0070.00016.40
7.4.220.0030.00316.56
7.4.210.0080.00716.56
7.4.200.0000.00716.32
7.4.160.0110.01116.63
7.4.150.0100.01016.46
7.4.140.0090.01216.38
7.4.130.0120.00316.45
7.4.120.0090.01116.41
7.4.110.0160.00616.55
7.4.100.0120.00916.46
7.4.90.0150.00416.48
7.4.80.0120.00916.47
7.4.70.0100.01016.42
7.4.60.0100.01316.53
7.4.50.0060.00916.26
7.4.40.0070.00716.31
7.4.30.0090.00616.49
7.4.20.0100.01316.32
7.4.10.0070.01416.50
7.4.00.0060.01116.59
7.3.330.0000.00716.23
7.3.320.0000.00513.06
7.3.310.0040.00416.26
7.3.300.0000.00616.25
7.3.290.0070.01216.26
7.3.270.0060.00816.26
7.3.260.0090.01216.21
7.3.250.0040.01116.15
7.3.240.0140.00016.27
7.3.230.0070.01016.18
7.3.220.0000.01516.14
7.3.210.0110.00416.18
7.3.200.0060.00916.22
7.3.190.0070.01316.16
7.3.180.0000.01916.11
7.3.170.0120.00316.19
7.3.160.0100.01016.20
7.3.150.0100.01016.15
7.3.140.0030.01216.12
7.3.130.0180.00316.19
7.3.120.0120.00916.19
7.3.110.0080.00616.05
7.3.100.0070.00716.09
7.3.90.0030.01216.42
7.3.80.0090.00916.16
7.3.70.0040.01216.25
7.3.60.0070.00816.36
7.3.50.0070.00716.32
7.3.40.0030.01116.42
7.3.30.0090.01316.32
7.3.20.0040.01816.30
7.3.10.0170.00716.16
7.3.00.0060.01516.31

preferences:
28.77 ms | 403 KiB | 5 Q