3v4l.org

run code in 300+ PHP versions simultaneously
<?php class otherClass { public static function f1 () { childClass:f3(); } } class parentClass { public static function f2 () { echo "<br>".__CLASS__; echo "<br>".__FUNCTION__; } } class childClass extends parentClass { public static function f3 () { echo "<br>".__CLASS__; echo "<br>".__FUNCTION__; } } otherClass::f1();

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.0140.00716.88
8.3.50.0100.01017.30
8.3.40.0110.00418.58
8.3.30.0190.00018.84
8.3.20.0080.00018.73
8.3.10.0040.00418.90
8.3.00.0030.00519.38
8.2.180.0150.00318.54
8.2.170.0070.00722.96
8.2.160.0070.00721.08
8.2.150.0080.00024.18
8.2.140.0090.00024.66
8.2.130.0040.00426.16
8.2.120.0070.00021.00
8.2.110.0060.00320.75
8.2.100.0050.00517.78
8.2.90.0070.00420.91
8.2.80.0000.00719.34
8.2.70.0080.00017.61
8.2.60.0040.00417.91
8.2.50.0090.00018.07
8.2.40.0000.00818.12
8.2.30.0000.00717.95
8.2.20.0000.00919.47
8.2.10.0000.00817.58
8.2.00.0030.00717.65
8.1.280.0040.01125.92
8.1.270.0000.00824.66
8.1.260.0090.00026.35
8.1.250.0000.00828.09
8.1.240.0060.00322.61
8.1.230.0040.00820.79
8.1.220.0000.00917.74
8.1.210.0000.00818.89
8.1.200.0100.00017.22
8.1.190.0070.00017.41
8.1.180.0040.00418.10
8.1.170.0000.00818.73
8.1.160.0040.00318.68
8.1.150.0040.00418.55
8.1.140.0050.00217.23
8.1.130.0000.00717.80
8.1.120.0040.00417.32
8.1.110.0040.00417.26
8.1.100.0000.00717.16
8.1.90.0030.00317.35
8.1.80.0030.00317.24
8.1.70.0000.00717.29
8.1.60.0080.00017.50
8.1.50.0080.00017.36
8.1.40.0030.00517.37
8.1.30.0000.00817.59
8.1.20.0040.00417.59
8.1.10.0000.00717.51
8.1.00.0000.00717.39
8.0.300.0050.00219.89
8.0.290.0000.00716.58
8.0.280.0070.00018.24
8.0.270.0040.00417.06
8.0.260.0000.00616.71
8.0.250.0000.00716.95
8.0.240.0000.00716.91
8.0.230.0070.00016.97
8.0.220.0070.00016.76
8.0.210.0000.00716.91
8.0.200.0070.00316.95
8.0.190.0030.00616.95
8.0.180.0060.00316.94
8.0.170.0000.00916.77
8.0.160.0030.00316.91
8.0.150.0050.00516.87
8.0.140.0080.00016.82
8.0.130.0000.00713.32
8.0.120.0070.00016.88
8.0.110.0000.00716.71
8.0.100.0080.00016.68
8.0.90.0070.00016.73
8.0.80.0060.01316.86
8.0.70.0030.00516.78
8.0.60.0040.00416.85
8.0.50.0070.00016.88
8.0.30.0160.00416.70
8.0.20.0130.00817.18
8.0.10.0040.00416.98
8.0.00.0140.00516.75
7.4.330.0060.00012.86
7.4.320.0000.00616.47
7.4.300.0000.00616.50
7.4.290.0030.00516.36
7.4.280.0040.00416.48
7.4.270.0040.00416.43
7.4.260.0050.00013.23
7.4.250.0030.00516.43
7.4.240.0000.00816.49
7.4.230.0000.00716.27
7.4.220.0090.00916.45
7.4.210.0050.01216.47
7.4.200.0000.00716.32
7.4.190.0000.00816.29
7.4.160.0060.00916.41
7.4.150.0130.00616.39
7.4.140.0070.01016.33
7.4.130.0060.01316.37
7.4.120.0090.00816.37
7.4.110.0100.00716.56
7.4.100.0140.00716.56
7.4.90.0100.00716.47
7.4.80.0080.01119.39
7.4.70.0080.00916.36
7.4.60.0030.01316.44
7.4.50.0060.00616.54
7.4.40.0090.00616.48
7.4.30.0150.00616.38
7.4.00.0070.00714.94
7.3.330.0060.00013.14
7.3.320.0030.00313.30
7.3.310.0000.00716.34
7.3.300.0030.00316.37
7.3.290.0060.00916.29
7.3.280.0070.00816.33
7.3.270.0070.01416.23
7.3.260.0030.01416.44
7.3.250.0160.00816.31
7.3.240.0040.01516.22
7.3.230.0170.00016.36
7.3.210.0130.00316.50
7.3.200.0170.00616.42
7.3.190.0040.01416.36
7.3.180.0090.00616.59
7.3.170.0100.01016.45
7.3.160.0120.00316.42
7.3.120.0040.01414.86
7.3.10.0180.00716.20
7.3.00.0160.00315.85
7.2.330.0130.00316.43
7.2.320.0060.00916.22
7.2.310.0060.01216.58
7.2.300.0030.01316.25
7.2.290.0130.00316.51
7.2.130.0180.00916.70
7.2.120.0160.00816.35
7.2.110.0130.00616.14
7.2.100.0150.00416.30
7.2.90.0180.00916.60
7.2.80.0100.00716.11
7.2.70.0070.01416.75
7.2.60.0080.01016.33
7.2.50.0130.01315.96
7.2.40.0130.00316.59
7.2.30.0100.00616.39
7.2.20.0170.00516.36
7.2.10.0130.00816.27
7.2.00.0090.00918.01
7.1.250.0100.00615.17
7.1.200.0000.01215.72
7.1.100.0040.01118.13
7.1.70.0030.00916.98
7.1.60.0030.01919.40
7.1.50.0240.01434.48
7.1.00.0070.07722.30
7.0.200.0380.00714.77
7.0.140.0030.07722.08
7.0.120.0070.03021.96
7.0.60.0000.04319.91
7.0.50.0130.03317.95
7.0.40.0100.07717.86
7.0.30.0100.07317.87
7.0.20.0130.03717.79
7.0.10.0030.04017.74
7.0.00.0100.08017.70
5.6.280.0130.06321.04
5.6.210.0130.04320.51
5.6.200.0100.07718.19
5.6.190.0030.06018.18
5.6.180.0030.05318.16
5.6.170.0070.08018.29
5.6.160.0070.05018.29
5.6.150.0100.03318.18
5.6.140.0100.03718.14
5.6.130.0100.06718.21
5.6.120.0030.04318.21
5.6.110.0000.08718.14
5.6.100.0100.08318.27
5.6.90.0100.05018.22
5.6.80.0030.04017.62
5.6.70.0100.03717.66
5.6.60.0070.07717.61
5.6.50.0100.07317.62
5.6.40.0000.04717.55
5.6.30.0000.05717.55
5.6.20.0070.04717.57
5.6.10.0100.04317.50
5.6.00.0100.06717.50
5.5.350.0270.06020.53
5.5.340.0070.06717.99
5.5.330.0070.06718.09
5.5.320.0030.07717.96
5.5.310.0000.09318.09
5.5.300.0100.07717.95
5.5.290.0070.04017.95
5.5.280.0070.08317.95
5.5.270.0100.07018.09
5.5.260.0000.06318.02
5.5.250.0130.03317.75
5.5.240.0030.04017.47
5.5.230.0100.05317.32
5.5.220.0000.04717.33
5.5.210.0100.06317.41
5.5.200.0100.04017.30
5.5.190.0100.07317.43
5.5.180.0070.07017.34
5.5.160.0030.04017.26
5.5.150.0100.04717.33
5.5.140.0200.06717.49
5.5.130.0170.06317.34
5.5.120.0100.07017.30
5.5.110.0070.04717.32
5.5.100.0100.07717.34
5.5.90.0070.06717.23
5.5.80.0000.08017.17
5.5.70.0100.07317.32
5.5.60.0100.06317.21
5.5.50.0070.07717.22
5.5.40.0030.04017.29
5.5.30.0070.07717.14
5.5.20.0070.03717.22
5.5.10.0070.05317.18
5.5.00.0100.07317.22
5.4.450.0030.05019.35
5.4.440.0000.09019.36
5.4.430.0070.07719.34
5.4.420.0030.08719.31
5.4.410.0170.03719.14
5.4.400.0070.07719.14
5.4.390.0030.04719.27
5.4.380.0170.05019.05
5.4.370.0070.08018.98
5.4.360.0070.06318.98
5.4.350.0070.06019.13
5.4.340.0100.07719.01
5.4.320.0100.07319.14
5.4.310.0100.05319.00
5.4.300.0070.07719.02
5.4.290.0130.05719.04
5.4.280.0070.06018.98
5.4.270.0130.06319.04
5.4.260.0070.07719.01
5.4.250.0070.06318.88
5.4.240.0070.05719.04
5.4.230.0130.04019.27
5.4.220.0100.08019.04
5.4.210.0100.04319.12
5.4.200.0170.06019.02
5.4.190.0100.03318.94
5.4.180.0070.03719.02
5.4.170.0130.07319.25
5.4.160.0100.05019.25
5.4.150.0000.05719.02
5.4.140.0100.07316.45
5.4.130.0030.07016.45
5.4.120.0100.05716.46
5.4.110.0100.07316.50
5.4.100.0070.04716.35
5.4.90.0070.06716.35
5.4.80.0070.07016.49
5.4.70.0100.06716.45
5.4.60.0170.07016.36
5.4.50.0070.06316.20
5.4.40.0000.07716.41
5.4.30.0130.05716.39
5.4.20.0070.05316.45
5.4.10.0100.06316.29
5.4.00.0070.06016.02
5.3.290.0030.04714.71
5.3.280.0100.04714.64
5.3.270.0070.07714.65
5.3.260.0100.04014.60
5.3.250.0000.05714.62
5.3.240.0070.07714.57
5.3.230.0030.08014.66
5.3.220.0030.04014.57
5.3.210.0070.07314.61
5.3.200.0100.07014.56
5.3.190.0100.06014.64
5.3.180.0070.07314.78
5.3.170.0030.07314.60
5.3.160.0170.05314.61
5.3.150.0100.05314.61
5.3.140.0100.07314.77
5.3.130.0130.07314.51
5.3.120.0170.06014.63
5.3.110.0100.07314.60
5.3.100.0070.06713.99
5.3.90.0070.07314.09
5.3.80.0100.04314.06
5.3.70.0030.07714.22
5.3.60.0070.07014.04
5.3.50.0030.04313.99
5.3.40.0030.05313.99
5.3.30.0070.04313.94
5.3.20.0070.04313.72
5.3.10.0100.03013.65
5.3.00.0100.04313.67
5.2.170.0070.03311.21
5.2.160.0130.05311.20
5.2.150.0030.05311.04
5.2.140.0070.04011.21
5.2.130.0130.03311.09
5.2.120.0000.04711.18
5.2.110.0030.03011.12
5.2.100.0000.05311.17
5.2.90.0030.03310.99
5.2.80.0070.02711.08
5.2.70.0030.04311.13
5.2.60.0000.04010.94
5.2.50.0070.05011.06
5.2.40.0000.04711.09
5.2.30.0030.06010.98
5.2.20.0100.05710.95
5.2.10.0000.04710.90
5.2.00.0030.05010.78
5.1.60.0100.03710.05
5.1.50.0000.02710.02
5.1.40.0000.03010.07
5.1.30.0030.06010.42
5.1.20.0070.05010.56
5.1.10.0000.0479.99
5.1.00.0030.06010.15
5.0.50.0100.0438.38
5.0.40.0070.0408.62
5.0.30.0070.0638.27
5.0.20.0030.0208.15
5.0.10.0000.0238.38
5.0.00.0000.0338.18
4.4.90.0000.0237.70
4.4.80.0070.0337.70
4.4.70.0000.0177.70
4.4.60.0030.0337.70
4.4.50.0030.0277.70
4.4.40.0000.0307.70
4.4.30.0070.0137.70
4.4.20.0030.0237.70
4.4.10.0070.0237.70
4.4.00.0000.0307.70
4.3.110.0000.0407.70
4.3.100.0000.0207.70
4.3.90.0000.0207.70
4.3.80.0000.0477.70
4.3.70.0030.0337.70
4.3.60.0000.0337.70
4.3.50.0000.0207.70
4.3.40.0070.0407.70
4.3.30.0000.0337.70
4.3.20.0030.0337.70
4.3.10.0030.0337.70
4.3.00.0030.0307.70

preferences:
62.79 ms | 400 KiB | 5 Q