3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { public static function who() { var_dump(get_called_class()); } } class B extends A { public static function who() { parent::who(); } } B::who(); call_user_func(array('B', 'parent::who'));

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.01018.55
8.3.50.0160.00621.14
8.3.40.0090.00918.54
8.3.30.0120.00420.04
8.3.20.0080.00020.16
8.3.10.0080.00021.89
8.3.00.0040.00422.24
8.2.180.0070.01116.75
8.2.170.0090.00622.96
8.2.160.0070.00720.39
8.2.150.0070.00024.18
8.2.140.0100.01024.66
8.2.130.0140.00326.16
8.2.120.0060.00319.43
8.2.110.0110.01121.99
8.2.100.0040.00817.78
8.2.90.0040.00417.84
8.2.80.0000.00817.97
8.2.70.0060.00317.50
8.2.60.0090.00017.68
8.2.50.0000.00818.07
8.2.40.0040.00418.09
8.2.30.0000.00718.03
8.2.20.0000.00717.40
8.2.10.0040.00417.63
8.2.00.0080.00417.53
8.1.280.0070.00725.92
8.1.270.0080.00024.66
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0000.01022.27
8.1.230.0040.00720.90
8.1.220.0030.00517.74
8.1.210.0040.00418.77
8.1.200.0000.01017.00
8.1.190.0000.00817.30
8.1.180.0060.00318.76
8.1.170.0030.00518.48
8.1.160.0040.00422.06
8.1.150.0040.00418.51
8.1.140.0000.00817.36
8.1.130.0030.00317.63
8.1.120.0030.00317.33
8.1.110.0040.00417.32
8.1.100.0000.00717.22
8.1.90.0070.00017.32
8.1.80.0040.00417.31
8.1.70.0000.00717.31
8.1.60.0040.00417.50
8.1.50.0000.00717.40
8.1.40.0040.00417.41
8.1.30.0000.00817.59
8.1.20.0000.00817.55
8.1.10.0000.00717.40
8.1.00.0000.01017.40
8.0.300.0040.00419.94
8.0.290.0030.00616.89
8.0.280.0070.00018.36
8.0.270.0040.00417.18
8.0.260.0070.00016.76
8.0.250.0000.00616.77
8.0.240.0000.00816.82
8.0.230.0070.00016.83
8.0.220.0030.00316.88
8.0.210.0070.00016.84
8.0.200.0030.00316.87
8.0.190.0040.00416.90
8.0.180.0100.00016.88
8.0.170.0070.00016.86
8.0.160.0000.00716.83
8.0.150.0060.00316.70
8.0.140.0000.00816.78
8.0.130.0050.00013.18
8.0.120.0040.00416.68
8.0.110.0000.00716.73
8.0.100.0040.00416.88
8.0.90.0030.00316.68
8.0.80.0070.01016.85
8.0.70.0040.00416.92
8.0.60.0020.00516.74
8.0.50.0070.00016.90
8.0.30.0110.00917.07
8.0.20.0090.00917.40
8.0.10.0080.00016.91
8.0.00.0100.00716.67
7.4.330.0050.00015.04
7.4.320.0030.00316.44
7.4.300.0030.00316.56
7.4.290.0040.00416.64
7.4.280.0030.00316.59
7.4.270.0040.00416.43
7.4.260.0070.00016.60
7.4.250.0000.00716.45
7.4.240.0040.00316.41
7.4.230.0070.00016.66
7.4.220.0260.00016.66
7.4.210.0070.00916.48
7.4.200.0000.00716.38
7.4.190.0070.00016.60
7.4.160.0080.00816.31
7.4.150.0030.01317.40
7.4.140.0110.00717.86
7.4.130.0060.01116.46
7.4.120.0100.00816.51
7.4.110.0100.01416.55
7.4.100.0060.01116.66
7.4.90.0110.00716.38
7.4.80.0090.00919.39
7.4.70.0060.01216.28
7.4.60.0190.00016.33
7.4.50.0000.00516.36
7.4.40.0070.01022.77
7.4.30.0100.00716.60
7.4.00.0070.01014.81
7.3.330.0000.00513.20
7.3.320.0030.00313.21
7.3.310.0030.00316.22
7.3.300.0030.00316.23
7.3.290.0060.00916.23
7.3.280.0080.01016.24
7.3.270.0090.00717.40
7.3.260.0120.00616.16
7.3.250.0120.00916.28
7.3.240.0210.00316.17
7.3.230.0130.00316.39
7.3.210.0110.00716.41
7.3.200.0100.00719.39
7.3.190.0130.00616.25
7.3.180.0000.01516.18
7.3.170.0070.01116.34
7.3.160.0110.00416.30
7.3.120.0060.00614.99
7.2.330.0090.00916.26
7.2.320.0080.00816.57
7.2.310.0060.01016.57
7.2.300.0030.01316.57
7.2.290.0120.00616.28
7.2.00.0030.00618.93
7.1.100.0040.00717.42
7.1.70.0030.00717.10
7.1.60.0110.01419.21
7.1.50.0100.00716.91
7.1.00.0070.05022.28
7.0.200.0100.00714.79
7.0.140.0030.07322.12
7.0.70.4870.04719.84
7.0.60.0030.08319.89
7.0.50.0130.07717.96
7.0.40.0100.08320.08
7.0.30.0170.04320.06
7.0.20.0300.03720.24
7.0.10.0330.07020.26
7.0.00.0000.04720.24
5.6.280.0030.07321.11
5.6.210.0100.03320.51
5.6.200.0030.04318.26
5.6.190.0070.09020.34
5.6.180.0100.04020.44
5.6.170.0400.06320.46
5.6.160.0030.08320.43
5.6.150.0100.04018.29
5.6.140.0130.07718.17
5.6.130.0100.05018.15
5.6.120.0100.08020.97
5.6.110.0000.04321.02
5.6.100.0070.09321.14
5.6.90.0070.08321.07
5.6.80.0130.06720.41
5.6.70.0130.07020.39
5.5.350.0030.07720.43
5.5.340.0070.08018.00
5.5.330.0030.04320.19
5.5.320.0030.09320.41
5.5.310.0230.08020.29
5.5.300.0100.07317.98
5.5.290.0030.08317.99
5.5.280.0070.04020.97
5.5.270.0130.03720.77
5.5.260.0100.08020.85
5.5.250.0100.07720.59
5.5.240.0270.05720.27
5.4.450.0500.09719.52
5.4.440.0030.06319.47
5.4.430.0630.05719.58
5.4.420.0900.08019.58
5.4.410.0800.05019.32
5.4.400.0730.05718.84
5.4.390.0770.05019.14
5.4.380.0170.05318.79
5.4.370.0130.04718.61
5.4.360.0100.05718.60
5.4.350.0160.05512.02
5.4.340.0060.03612.02
5.4.320.0090.04212.50
5.4.310.0090.04612.50
5.4.300.0120.03812.50
5.4.290.0050.05212.50
5.4.280.0070.03312.40
5.4.270.0080.04412.40
5.4.260.0050.03812.40
5.4.250.0130.04718.79
5.4.240.0100.05018.79
5.4.230.0030.05718.93
5.4.220.0030.05718.95
5.4.210.0130.04318.73
5.4.200.0070.05018.73
5.4.190.0070.05718.89
5.4.180.0170.04019.01
5.4.170.0170.05018.93
5.4.160.0070.05018.95
5.4.150.0200.04318.93
5.4.140.0070.05716.59
5.4.130.0070.05016.64
5.4.120.0100.05316.44
5.4.110.0130.04716.54
5.4.100.0070.05016.41
5.4.90.0030.05316.62
5.4.80.0100.04316.60
5.4.70.0070.05016.46
5.4.60.0130.05716.46
5.4.50.0100.04716.38
5.4.40.0100.04316.54
5.4.30.0100.04316.48
5.4.20.0230.03316.47
5.4.10.0300.04716.46
5.4.00.0170.04015.87
5.3.290.0040.04512.80
5.3.280.0170.04014.42
5.3.270.0070.05314.59
5.3.260.0030.06014.68
5.3.250.0170.04314.69
5.3.240.0100.06014.51
5.3.230.0130.05014.61
5.3.220.0130.07014.40
5.3.210.0130.05014.65
5.3.200.0100.04714.66
5.3.190.0100.04714.47
5.3.180.0130.04314.64
5.3.170.0030.05014.57
5.3.160.0170.04014.64
5.3.150.0030.05314.55
5.3.140.0070.05014.72
5.3.130.0100.07314.66
5.3.120.0100.04714.72
5.3.110.0070.05014.68
5.3.100.0170.04314.17
5.3.90.0070.05314.10
5.3.80.0030.05014.02
5.3.70.0070.06014.19
5.3.60.0070.05013.83
5.3.50.0200.03714.04
5.3.40.0070.05014.04
5.3.30.0100.04313.99
5.3.20.0070.04713.77
5.3.10.0130.04013.84
5.3.00.0100.04713.56
5.2.170.0100.05711.24
5.2.160.0030.04311.05
5.2.150.0100.03711.23
5.2.140.0100.04011.13
5.2.130.0100.03311.20
5.2.120.0000.04311.01
5.2.110.0100.04311.06
5.2.100.0070.03711.01
5.2.90.0100.04011.10
5.2.80.0000.04711.25
5.2.70.0100.03711.07
5.2.60.0030.04710.96
5.2.50.0030.04311.09
5.2.40.0100.03711.16
5.2.30.0100.04710.94
5.2.20.0070.03710.96
5.2.10.0030.04310.69
5.2.00.0100.05010.94
5.1.60.0030.03310.16
5.1.50.0000.0379.96
5.1.40.0070.0339.96
5.1.30.0100.03010.51
5.1.20.0070.03710.34
5.1.10.0000.04310.16
5.1.00.0030.03710.05
5.0.50.0070.0308.60
5.0.40.0030.0278.32
5.0.30.0030.0438.29
5.0.20.0100.0338.21
5.0.10.0070.0278.15
5.0.00.0000.0578.20
4.4.90.0000.0237.39
4.4.80.0000.0277.39
4.4.70.0070.0207.39
4.4.60.0030.0207.39
4.4.50.0030.0207.39
4.4.40.0070.0337.30
4.4.30.0100.0237.30
4.4.20.0100.0207.30
4.4.10.0100.0177.30
4.4.00.0030.0437.30
4.3.110.0070.0177.30
4.3.100.0000.0237.30
4.3.90.0070.0177.30
4.3.80.0000.0377.30
4.3.70.0130.0137.30
4.3.60.0070.0207.30
4.3.50.0100.0237.30
4.3.40.0030.0337.30
4.3.30.0070.0177.30
4.3.20.0000.0307.30
4.3.10.0070.0207.30
4.3.00.0230.0307.27

preferences:
43.52 ms | 400 KiB | 5 Q