3v4l.org

run code in 300+ PHP versions simultaneously
<?hhvm class A { static protected function f() {return 'A::f()';} } class B1 extends A { static protected function f() {return 'B1::f()';} } class B2 extends A { static public function test() {echo B1::f();} } B2::test();

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.0060.01318.30
8.3.50.0120.00821.08
8.3.40.0120.00318.77
8.3.30.0070.00719.13
8.3.20.0030.00320.24
8.3.10.0000.00923.36
8.3.00.0060.00319.38
8.2.180.0070.00716.32
8.2.170.0090.00922.96
8.2.160.0100.00719.04
8.2.150.0070.00024.18
8.2.140.0080.00024.66
8.2.130.0000.00826.16
8.2.120.0040.00422.10
8.2.110.0030.00621.11
8.2.100.0030.00917.78
8.2.90.0000.00817.90
8.2.80.0060.00317.97
8.2.70.0090.00017.35
8.2.60.0090.00217.93
8.2.50.0030.00718.07
8.2.40.0060.00319.81
8.2.30.0030.00317.87
8.2.20.0040.00417.50
8.2.10.0040.00417.92
8.2.00.0030.00517.62
8.1.280.0070.00725.92
8.1.270.0060.00323.96
8.1.260.0090.00626.35
8.1.250.0050.00328.09
8.1.240.0000.01022.11
8.1.230.0070.00422.77
8.1.220.0040.00417.74
8.1.210.0050.00318.91
8.1.200.0030.00617.10
8.1.190.0000.00816.98
8.1.180.0060.00318.10
8.1.170.0090.00318.50
8.1.160.0030.00321.86
8.1.150.0030.00318.79
8.1.140.0000.00717.24
8.1.130.0030.00317.88
8.1.120.0000.00817.26
8.1.110.0060.00317.24
8.1.100.0040.00417.19
8.1.90.0040.00417.31
8.1.80.0040.00417.21
8.1.70.0040.00417.27
8.1.60.0080.00017.50
8.1.50.0040.00417.34
8.1.40.0040.00417.38
8.1.30.0040.00417.51
8.1.20.0090.00017.36
8.1.10.0000.00717.38
8.1.00.0040.00417.26
8.0.300.0080.00019.98
8.0.290.0070.00016.63
8.0.280.0000.00718.38
8.0.270.0000.00817.20
8.0.260.0030.00317.05
8.0.250.0050.00216.80
8.0.240.0030.00316.81
8.0.230.0030.00616.69
8.0.220.0030.00316.65
8.0.210.0040.00416.66
8.0.200.0030.00316.85
8.0.190.0000.00716.81
8.0.180.0000.00716.65
8.0.170.0000.00916.81
8.0.160.0040.00416.82
8.0.150.0080.00016.62
8.0.140.0030.00316.73
8.0.130.0030.00313.45
8.0.120.0000.00816.73
8.0.110.0050.00316.76
8.0.100.0050.00216.79
8.0.90.0040.00416.83
8.0.80.0070.00816.70
8.0.70.0030.00516.62
8.0.60.0040.00416.57
8.0.50.0070.00016.65
8.0.30.0090.01416.87
8.0.20.0070.01217.40
8.0.10.0030.00516.68
8.0.00.0100.00816.58
7.4.330.0000.00515.20
7.4.320.0000.00616.30
7.4.300.0000.00616.36
7.4.290.0030.00316.45
7.4.280.0000.00716.46
7.4.270.0060.00016.46
7.4.260.0040.00416.35
7.4.250.0040.00416.38
7.4.240.0030.00316.43
7.4.230.0000.00716.55
7.4.220.0060.01216.31
7.4.210.0040.01316.41
7.4.200.0030.00316.38
7.4.160.0190.00016.39
7.4.150.0090.00817.40
7.4.140.0130.00617.86
7.4.130.0110.00816.46
7.4.120.0110.00516.32
7.4.110.0110.01416.47
7.4.100.0100.00716.41
7.4.90.0070.01016.32
7.4.80.0080.01019.39
7.4.70.0110.01116.21
7.4.60.0040.01216.34
7.4.50.0030.00516.57
7.4.40.0110.00416.39
7.4.30.0060.01016.39
7.3.330.0000.00713.23
7.3.320.0000.00512.98
7.3.310.0030.00316.13
7.3.300.0060.00016.01
7.3.290.0090.00516.16
7.3.280.0090.00916.06
7.3.270.0120.00617.40
7.3.260.0140.00316.42
7.3.250.0090.00816.29
7.3.240.0120.01216.52
7.3.230.0070.01016.39
7.3.210.0040.01416.44
7.3.200.0060.00919.39
7.3.190.0070.01416.42
7.3.180.0040.01116.23
7.3.170.0060.01216.27
7.3.160.0060.01316.30
7.2.330.0070.01016.36
7.2.320.0090.00916.57
7.2.310.0070.01116.28
7.2.300.0030.01316.62
7.2.290.0060.01816.48
5.4.340.0060.03512.01
5.4.320.0080.03412.45
5.4.310.0050.03912.45
5.4.300.0080.03412.45
5.4.290.0060.03912.45
5.4.280.0060.03712.34
5.4.270.0060.03612.34
5.4.260.0070.03612.35
5.4.250.0060.03712.34
5.4.240.0040.03812.34
5.4.230.0100.03412.34
5.4.220.0080.03912.34
5.4.210.0100.03212.34
5.4.200.0060.03812.34
5.4.190.0070.03612.33
5.4.180.0070.03512.33
5.4.170.0030.03812.34
5.4.160.0070.03512.34
5.4.150.0050.03712.34
5.4.140.0060.03712.02
5.4.130.0070.03412.01
5.4.120.0060.03511.97
5.4.110.0050.04211.96
5.4.100.0070.04011.96
5.4.90.0070.04011.97
5.4.80.0040.03811.96
5.4.70.0060.03411.96
5.4.60.0060.03411.96
5.4.50.0060.03511.96
5.4.40.0080.03311.95
5.4.30.0060.03411.95
5.4.20.0040.03611.95
5.4.10.0080.03211.95
5.4.00.0060.03711.44

preferences:
59.8 ms | 401 KiB | 5 Q