3v4l.org

run code in 300+ PHP versions simultaneously
<?php class B extends A { } abstract class A { public static function get() { self::resolve(); } private static function resolve() { var_dump(get_parent_class(__CLASS__)); } } A::get();

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.0080.00618.30
8.3.50.0070.01221.92
8.3.40.0100.00718.78
8.3.30.0130.01318.44
8.3.20.0040.00418.52
8.3.10.0030.00520.23
8.3.00.0070.00021.63
8.2.180.0070.00718.31
8.2.170.0040.01822.96
8.2.160.0070.01120.35
8.2.150.0080.00024.18
8.2.140.0030.00624.66
8.2.130.0080.00026.16
8.2.120.0050.00319.36
8.2.110.0030.00620.99
8.2.100.0000.01117.47
8.2.90.0000.00819.05
8.2.80.0000.00817.97
8.2.70.0040.00417.63
8.2.60.0020.00518.03
8.2.50.0040.00418.07
8.2.40.0030.00518.22
8.2.30.0040.00419.88
8.2.20.0040.00417.57
8.2.10.0040.00417.61
8.2.00.0060.00317.53
8.1.280.0140.00725.92
8.1.270.0080.00023.99
8.1.260.0070.00026.35
8.1.250.0000.00728.09
8.1.240.0090.00022.33
8.1.230.0110.00020.85
8.1.220.0050.00318.77
8.1.210.0000.00818.88
8.1.200.0030.00617.00
8.1.190.0080.00017.40
8.1.180.0000.00918.10
8.1.170.0050.00318.39
8.1.160.0000.00718.72
8.1.150.0070.00018.67
8.1.140.0040.00417.43
8.1.130.0030.00317.74
8.1.120.0000.00717.30
8.1.110.0000.00717.26
8.1.100.0030.00517.41
8.1.90.0040.00417.27
8.1.80.0040.00417.46
8.1.70.0070.00017.39
8.1.60.0060.00317.56
8.1.50.0040.00417.38
8.1.40.0030.00517.43
8.1.30.0070.00017.52
8.1.20.0030.00517.61
8.1.10.0070.00017.46
8.1.00.0040.00417.37
8.0.300.0000.00819.81
8.0.290.0000.00716.58
8.0.280.0000.00818.49
8.0.270.0000.00716.77
8.0.260.0030.00316.72
8.0.250.0070.00016.88
8.0.240.0080.00016.90
8.0.230.0030.00516.93
8.0.220.0030.00316.88
8.0.210.0000.00716.81
8.0.200.0000.00616.96
8.0.190.0040.00416.81
8.0.180.0000.00716.96
8.0.170.0030.00516.94
8.0.160.0030.00316.89
8.0.150.0030.00616.73
8.0.140.0030.00716.81
8.0.130.0030.00313.32
8.0.120.0050.00216.86
8.0.110.0080.00016.86
8.0.100.0000.00816.91
8.0.90.0000.00716.84
8.0.80.0130.00316.77
8.0.70.0040.00416.67
8.0.60.0030.00516.71
8.0.50.0000.00716.71
8.0.30.0140.00517.20
8.0.20.0100.01017.40
8.0.10.0070.00016.98
8.0.00.0030.01416.68
7.4.330.0030.00313.43
7.4.320.0040.00516.54
7.4.300.0030.00316.59
7.4.290.0000.00716.43
7.4.280.0000.00816.49
7.4.270.0030.00316.61
7.4.260.0000.00613.25
7.4.250.0000.00716.59
7.4.240.0030.00516.57
7.4.230.0070.00016.68
7.4.220.0060.00916.43
7.4.210.0090.00716.42
7.4.200.0000.00716.52
7.4.190.0050.00216.56
7.4.160.0130.00316.44
7.4.150.0090.00917.40
7.4.140.0140.00817.86
7.4.130.0070.01016.43
7.4.120.0120.00816.38
7.4.110.0160.00616.40
7.4.100.0100.00716.47
7.4.90.0150.00916.45
7.4.80.0100.00619.37
7.4.70.0110.00516.39
7.4.60.0120.00316.46
7.4.50.0000.00916.38
7.4.40.0080.00222.27
7.4.30.0100.00716.39
7.4.00.0060.01014.91
7.3.330.0060.00013.29
7.3.320.0070.00013.29
7.3.310.0050.00216.30
7.3.300.0000.00716.10
7.3.290.0090.00616.30
7.3.280.0060.00816.28
7.3.270.0060.01217.40
7.3.260.0100.00918.24
7.3.250.0150.00516.46
7.3.240.0060.01316.48
7.3.230.0000.01816.54
7.3.210.0140.00416.36
7.3.200.0110.00619.39
7.3.190.0100.01116.42
7.3.180.0100.00616.23
7.3.170.0090.00616.34
7.3.160.0100.00616.24
7.3.120.0080.00814.78
7.2.330.0070.01116.41
7.2.320.0060.01216.64
7.2.310.0140.00316.18
7.2.300.0040.01916.58
7.2.290.0060.00916.62
7.2.60.0040.00816.72
7.2.00.0040.01418.99
7.1.200.0040.00815.82
7.1.100.0060.00918.10
7.1.70.0000.01017.09
7.1.60.0070.01719.40
7.1.50.0060.00616.91
7.1.00.0070.03722.27
7.0.200.0030.00716.67
7.0.140.0030.07321.95
7.0.60.0170.07321.71
7.0.50.0000.04317.83
7.0.40.0070.09320.23
7.0.30.0370.06320.07
7.0.20.0230.07020.30
7.0.10.0100.07320.08
7.0.00.0130.05720.12
5.6.210.0030.08720.75
5.6.200.0030.08318.19
5.6.190.0000.04720.46
5.6.180.0530.06720.39
5.6.170.0330.07320.71
5.6.160.0070.06020.44
5.6.150.0100.07718.15
5.6.140.0070.04318.28
5.6.130.0100.08318.14
5.6.120.0070.04020.99
5.6.110.0070.09021.12
5.6.100.0130.03720.89
5.6.90.0030.08720.88
5.6.80.0000.07320.36
5.5.350.0230.08020.53
5.5.340.0100.04017.93
5.5.330.0130.03320.13
5.5.320.0430.06720.27
5.5.310.0200.05320.30
5.5.300.0100.07018.07
5.5.290.0030.07718.04
5.5.280.0070.07020.88
5.5.270.0030.05320.93
5.5.260.0130.06020.68
5.5.250.0100.08320.80
5.5.240.0000.08020.14
5.4.450.0470.06019.61
5.4.440.0300.04019.55
5.4.430.0200.05719.29
5.4.420.0370.06719.45
5.4.410.0400.05719.13
5.4.400.0200.07719.06
5.4.390.0130.06719.19
5.4.380.0270.05719.11
5.4.370.0170.04019.13
5.4.360.0270.03019.06
5.4.350.0170.04018.96
5.4.340.0200.04319.04
5.4.320.0230.06319.15
5.4.310.0370.05719.11
5.4.300.0170.06019.14
5.4.290.0270.04319.10
5.4.280.0300.03019.14
5.4.270.0330.03018.93
5.4.260.0230.05318.96
5.4.250.0270.03319.10
5.4.240.0170.04719.14
5.4.230.0170.04019.10
5.4.220.0230.03718.93
5.4.210.0130.03719.16
5.4.200.0200.03719.26
5.4.190.0200.03319.25
5.4.180.0130.04019.14
5.4.170.0170.03719.21
5.4.160.0200.03319.22
5.4.150.0200.03719.11
5.4.140.0200.03316.40
5.4.130.0170.03316.52
5.4.120.0200.03016.41
5.4.110.0170.03716.56
5.4.100.0200.03716.31
5.4.90.0200.04316.55
5.4.80.0270.03016.48
5.4.70.0230.04016.39
5.4.60.0200.03316.33
5.4.50.0200.06716.23
5.4.40.0130.05316.41
5.4.30.0230.03316.20
5.4.20.0370.04716.53
5.4.10.0230.03716.41
5.4.00.0230.03715.86
5.3.290.0230.07314.67
5.3.280.0200.04014.61
5.3.270.0270.03014.75
5.3.260.0170.03714.66
5.3.250.0270.03014.52
5.3.240.0130.04014.77
5.3.230.0170.03714.60
5.3.220.0330.02014.60
5.3.210.0300.02314.61
5.3.200.0170.04014.60
5.3.190.0270.06714.57
5.3.180.0200.03714.60
5.3.170.0200.08014.56
5.3.160.0230.03314.61
5.3.150.0300.04714.61
5.3.140.0230.06314.71
5.3.130.0230.04714.57
5.3.120.0230.05314.70
5.3.110.0230.05314.55
5.3.100.0200.04014.09
5.3.90.0270.06314.07
5.3.80.0170.04313.91
5.3.70.0330.03313.99
5.3.60.0300.07014.00
5.3.50.0200.06014.09
5.3.40.0330.07313.97
5.3.30.0330.06013.80
5.3.20.0300.05713.74
5.3.10.0230.04313.80
5.3.00.0330.05313.64
5.2.170.0330.03311.20
5.2.160.0230.03711.20
5.2.150.0200.04311.20
5.2.140.0270.03311.06
5.2.130.0230.05011.14
5.2.120.0270.05311.25
5.2.110.0200.06311.15
5.2.100.0230.07011.16
5.2.90.0200.03311.03
5.2.80.0170.04711.16
5.2.70.0230.04711.25
5.2.60.0200.05311.19
5.2.50.0230.04711.10
5.2.40.0230.05311.01
5.2.30.0200.04311.01
5.2.20.0130.03710.96
5.2.10.0200.05710.87
5.2.00.0130.04310.79
5.1.60.0230.0279.90
5.1.50.0170.0539.95
5.1.40.0230.03310.03
5.1.30.0370.04010.23
5.1.20.0270.05010.52
5.1.10.0200.03710.13
5.1.00.0130.05710.04
5.0.50.0070.0538.57
5.0.40.0130.0278.47
5.0.30.0070.0608.27
5.0.20.0130.0338.25
5.0.10.0130.0278.31
5.0.00.0100.0408.30
4.4.90.0100.0177.95
4.4.80.0170.0237.95
4.4.70.0070.0177.95
4.4.60.0070.0207.95
4.4.50.0100.0177.95
4.4.40.0130.0507.95
4.4.30.0070.0307.95
4.4.20.0070.0307.95
4.4.10.0130.0337.95
4.4.00.0170.0477.95
4.3.110.0100.0207.95
4.3.100.0100.0337.95
4.3.90.0100.0337.95
4.3.80.0100.0507.95
4.3.70.0130.0237.95
4.3.60.0170.0277.95
4.3.50.0100.0337.95
4.3.40.0100.0437.95
4.3.30.0100.0307.95
4.3.20.0070.0207.95
4.3.10.0070.0277.95
4.3.00.0100.0277.95

preferences:
42.96 ms | 401 KiB | 5 Q