3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface superbase { public static function ball(); public static function foo(); } abstract class base implements superbase { public static function ball(){ echo 'superbaseball'; } public static function foo(){ echo 'foo'; } } class child extends base{ public static function ball(){ echo 'baseball'; } } child::foo(); child::ball();

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.0040.01216.75
8.3.60.0200.00016.63
8.3.50.0110.00617.42
8.3.40.0090.00618.51
8.3.30.0060.00918.68
8.3.20.0060.00318.70
8.3.10.0030.00518.57
8.3.00.0080.00019.13
8.2.180.0110.00718.41
8.2.170.0080.00822.96
8.2.160.0090.00918.79
8.2.150.0060.00324.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00419.63
8.2.110.0030.00619.41
8.2.100.0070.00417.72
8.2.90.0050.00319.22
8.2.80.0030.00517.97
8.2.70.0060.00317.50
8.2.60.0040.00417.92
8.2.50.0040.00417.93
8.2.40.0000.00819.23
8.2.30.0070.00317.63
8.2.20.0070.00317.49
8.2.10.0050.00317.53
8.2.00.0000.01017.48
8.1.280.0070.01025.92
8.1.270.0000.00823.99
8.1.260.0030.00526.35
8.1.250.0070.00028.09
8.1.240.0090.00022.62
8.1.230.0040.00717.70
8.1.220.0030.00517.74
8.1.210.0000.00918.77
8.1.200.0060.00317.22
8.1.190.0040.00417.13
8.1.180.0040.00418.10
8.1.170.0000.00817.62
8.1.160.0070.00018.81
8.1.150.0000.00718.58
8.1.140.0000.00717.28
8.1.130.0030.00317.37
8.1.120.0000.00717.29
8.1.110.0030.00517.32
8.1.100.0040.00417.38
8.1.90.0040.00417.40
8.1.80.0020.00517.31
8.1.70.0000.00717.34
8.1.60.0060.00317.41
8.1.50.0080.00017.38
8.1.40.0040.00417.45
8.1.30.0090.00017.54
8.1.20.0060.00317.52
8.1.10.0000.00817.42
8.1.00.0030.00517.30
8.0.300.0090.00018.77
8.0.290.0070.00016.75
8.0.280.0000.00918.61
8.0.270.0040.00417.27
8.0.260.0000.00616.83
8.0.250.0030.00616.86
8.0.240.0040.00416.98
8.0.230.0000.00816.91
8.0.220.0060.00316.85
8.0.210.0030.00316.89
8.0.200.0030.00316.84
8.0.190.0040.00416.91
8.0.180.0040.00416.92
8.0.170.0090.00016.80
8.0.160.0070.00016.98
8.0.150.0000.00716.77
8.0.140.0060.00316.68
8.0.130.0030.00313.30
8.0.120.0090.00016.76
8.0.110.0030.00416.83
8.0.100.0000.00716.66
8.0.90.0040.00416.81
8.0.80.0040.01116.79
8.0.70.0030.00516.84
8.0.60.0040.00416.67
8.0.50.0040.00416.62
8.0.30.0180.00317.04
8.0.20.0100.00816.92
8.0.10.0000.00816.89
8.0.00.0090.00916.62
7.4.330.0060.00012.93
7.4.320.0040.00416.52
7.4.300.0000.00616.52
7.4.290.0030.00316.29
7.4.280.0100.00016.43
7.4.270.0000.00716.45
7.4.260.0040.00413.19
7.4.250.0030.00616.41
7.4.240.0030.00516.45
7.4.230.0040.00416.23
7.4.220.0110.00416.39
7.4.210.0130.00616.47
7.4.200.0070.00016.48
7.4.190.0050.00316.69
7.4.160.0130.00416.51
7.4.150.0070.01416.40
7.4.140.0100.01017.86
7.4.130.0070.01316.39
7.4.120.0070.01416.39
7.4.110.0150.00616.50
7.4.100.0120.00616.47
7.4.90.0100.01316.48
7.4.80.0100.00719.39
7.4.70.0170.00516.55
7.4.60.0120.00416.41
7.4.50.0000.00516.35
7.4.40.0070.01016.28
7.4.30.0080.01016.36
7.4.00.0070.00714.94
7.3.330.0000.00713.29
7.3.320.0030.00313.14
7.3.310.0040.00416.19
7.3.300.0030.00316.24
7.3.290.0110.00416.29
7.3.280.0100.00816.19
7.3.270.0100.00716.68
7.3.260.0120.00316.26
7.3.240.0100.00716.27
7.3.230.0100.00716.54
7.3.210.0110.00616.48
7.3.200.0030.01616.55
7.3.190.0100.00616.34
7.3.180.0080.00816.25
7.3.170.0140.00316.30
7.3.160.0030.01716.41
7.3.120.0050.01114.79
7.3.110.0100.00614.61
7.3.100.0060.00914.45
7.3.90.0070.01015.08
7.3.80.0000.01114.92
7.3.70.0030.01014.57
7.3.60.0080.00814.72
7.3.50.0060.00614.98
7.3.40.0090.00614.64
7.3.30.0030.00714.45
7.3.20.0000.01516.55
7.3.10.0040.01116.71
7.3.00.0080.00816.70
7.2.330.0060.01016.70
7.2.320.0170.00716.39
7.2.310.0080.00816.43
7.2.300.0030.01416.67
7.2.290.0100.00916.60
7.2.250.0100.01014.83
7.2.240.0030.00914.88
7.2.230.0070.01014.89
7.2.220.0040.01515.07
7.2.210.0030.00714.82
7.2.200.0030.00615.07
7.2.190.0070.00414.89
7.2.180.0030.01215.05
7.2.170.0000.01715.00
7.2.00.0120.00818.88
7.1.330.0070.00715.83
7.1.320.0030.01315.66
7.1.310.0070.00715.46
7.1.300.0060.00615.57
7.1.290.0060.00915.69
7.1.280.0040.01415.63
7.1.270.0040.00815.69
7.1.260.0090.00615.65
7.1.100.0190.00517.93
7.1.70.0030.00817.13
7.1.60.0090.01619.21
7.1.50.0210.01834.85
7.1.00.0030.03322.30
7.0.200.0070.00716.77
7.0.140.0070.07021.98
7.0.120.0070.07022.08
7.0.60.0100.07721.76
7.0.50.0030.08317.86
7.0.40.0130.07020.15
7.0.30.0300.04320.16
7.0.20.0200.05320.06
7.0.10.0070.05020.26
7.0.00.0000.07720.09
5.6.280.0030.07321.07
5.6.210.0170.07020.61
5.6.200.0100.07718.16
5.6.190.0230.03720.57
5.6.180.0330.07320.47
5.6.170.0330.05320.56
5.6.160.0100.05020.45
5.6.150.0030.04318.22
5.6.140.0030.07718.28
5.6.130.0030.09018.25
5.6.120.0170.04721.10
5.6.110.0000.09321.12
5.6.100.0100.08021.01
5.6.90.0170.04720.97
5.6.80.0070.07320.51
5.5.350.0000.08320.41
5.5.340.0100.03717.97
5.5.330.0130.07020.13
5.5.320.0300.08320.36
5.5.310.0200.08320.35
5.5.300.0030.08017.95
5.5.290.0070.08017.99
5.5.280.0030.04020.69
5.5.270.0100.08020.90
5.5.260.0130.08020.77
5.5.250.0070.06020.80
5.5.240.0170.06020.07
5.4.450.0100.07719.48
5.4.440.0100.06719.32
5.4.430.0100.06019.57
5.4.420.0100.08319.46
5.4.410.0130.03719.34
5.4.400.0070.06319.13
5.4.390.0170.06318.85
5.4.380.0100.03718.85
5.4.370.0030.04019.12
5.4.360.0070.08018.92
5.4.350.0100.06718.85
5.4.340.0000.05719.20
5.4.320.0070.05719.08
5.4.310.0070.06319.08
5.4.300.0030.04019.07
5.4.290.0000.04319.24
5.4.280.0070.05019.23
5.4.270.0070.05019.20
5.4.260.0070.07719.20
5.4.250.0030.04019.20
5.4.240.0030.03718.99
5.4.230.0030.05718.86
5.4.220.0000.06018.93
5.4.210.0100.07319.14
5.4.200.0000.05719.21
5.4.190.0130.07718.91
5.4.180.0000.04718.86
5.4.170.0130.05318.96
5.4.160.0100.05318.83
5.4.150.0030.04018.85
5.4.140.0030.03716.36
5.4.130.0070.06716.42
5.4.120.0100.03016.39
5.4.110.0070.07316.39
5.4.100.0100.05716.46
5.4.90.0070.07016.48
5.4.80.0070.05016.44
5.4.70.0100.07016.46
5.4.60.0070.06716.45
5.4.50.0030.06016.40
5.4.40.0000.06316.42
5.4.30.0100.06716.44
5.4.20.0030.04316.34
5.4.10.0030.04016.43
5.4.00.0170.02315.89
5.3.290.0100.08314.73
5.3.280.0130.06314.63
5.3.270.0130.06714.61
5.3.260.0070.07014.66
5.3.250.0070.07714.62
5.3.240.0070.05714.61
5.3.230.0100.03714.65
5.3.220.0030.03714.57
5.3.210.0030.07014.62
5.3.200.0170.05314.61
5.3.190.0070.06714.57
5.3.180.0100.06714.59
5.3.170.0030.06314.61
5.3.160.0000.07014.61
5.3.150.0130.06014.72
5.3.140.0100.07014.63
5.3.130.0030.04014.55
5.3.120.0070.06714.58
5.3.110.0130.04014.58
5.3.100.0270.02713.98
5.3.90.0100.06714.10
5.3.80.0230.05014.10
5.3.70.0030.05014.00
5.3.60.0100.06713.93
5.3.50.0070.07013.95
5.3.40.0130.07013.97
5.3.30.0130.07013.80
5.3.20.0000.05313.85
5.3.10.0070.05713.69
5.3.00.0070.07013.68
5.2.170.0000.04011.32
5.2.160.0030.05311.21
5.2.150.0070.04711.05
5.2.140.0070.06011.30
5.2.130.0070.05011.00
5.2.120.0030.04011.00
5.2.110.0100.04711.05
5.2.100.0130.05011.16
5.2.90.0030.04011.10
5.2.80.0070.06310.99
5.2.70.0030.06711.15
5.2.60.0000.04011.21
5.2.50.0100.03010.91
5.2.40.0030.06011.00
5.2.30.0070.06010.92
5.2.20.0030.03710.97
5.2.10.0070.03010.86
5.2.00.0070.05710.64
5.1.60.0000.0279.91
5.1.50.0030.03310.05
5.1.40.0100.0409.89
5.1.30.0000.03310.39
5.1.20.0170.04710.41
5.1.10.0070.02710.09
5.1.00.0000.02710.13
5.0.50.0000.0308.60
5.0.40.0070.0438.48
5.0.30.0000.0338.31
5.0.20.0030.0208.27
5.0.10.0030.0408.33
5.0.00.0030.0578.21
4.4.90.0030.0208.03
4.4.80.0070.0238.03
4.4.70.0070.0238.03
4.4.60.0000.0278.03
4.4.50.0000.0208.03
4.4.40.0000.0278.03
4.4.30.0070.0338.03
4.4.20.0000.0308.03
4.4.10.0070.0178.03
4.4.00.0030.0238.03
4.3.110.0030.0308.03
4.3.100.0000.0178.03
4.3.90.0000.0178.03
4.3.80.0030.0278.03
4.3.70.0000.0238.03
4.3.60.0030.0208.03
4.3.50.0000.0208.03
4.3.40.0070.0278.03
4.3.30.0030.0138.03
4.3.20.0000.0238.03
4.3.10.0000.0208.03
4.3.00.0000.0178.03

preferences:
63.82 ms | 401 KiB | 5 Q