3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Source: https://bugs.php.net/bug.php?id=62330 class A { public function __call($name, $args) { echo "NO\n"; } public static function __callStatic($name, $args) { echo "YES\n"; } } class B extends A { public function test() { A::test(); } } class C { public function test() { A::test(); } } A::test(); $b = new B(); $b->test(); $c = new C(); $c->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.0000.01416.38
8.3.50.0120.00517.21
8.3.40.0120.00618.76
8.3.30.0200.00318.57
8.3.20.0050.00318.68
8.3.10.0040.00420.36
8.3.00.0110.00719.25
8.2.180.0090.00916.75
8.2.170.0110.00322.96
8.2.160.0110.00420.70
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0070.00026.16
8.2.120.0000.00820.46
8.2.110.0060.00321.08
8.2.100.0090.00317.78
8.2.90.0080.00019.09
8.2.80.0080.00017.97
8.2.70.0040.00417.50
8.2.60.0000.00818.05
8.2.50.0040.00418.10
8.2.40.0030.00518.16
8.2.30.0040.00417.95
8.2.20.0040.00419.21
8.2.10.0040.00417.55
8.2.00.0030.00517.48
8.1.280.0050.01025.92
8.1.270.0050.00323.99
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0070.00323.97
8.1.230.0040.00717.70
8.1.220.0080.00017.74
8.1.210.0060.00318.77
8.1.200.0060.00317.23
8.1.190.0000.00817.10
8.1.180.0000.00818.10
8.1.170.0070.00018.72
8.1.160.0040.00418.86
8.1.150.0000.00718.48
8.1.140.0000.00717.36
8.1.130.0000.00717.87
8.1.120.0000.00717.47
8.1.110.0000.00817.44
8.1.100.0040.00417.31
8.1.90.0040.00417.32
8.1.80.0050.00217.30
8.1.70.0070.00017.24
8.1.60.0040.00417.59
8.1.50.0060.00317.40
8.1.40.0050.00317.51
8.1.30.0030.00617.58
8.1.20.0050.00217.64
8.1.10.0070.00017.50
8.1.00.0040.00417.55
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0070.00018.36
8.0.270.0080.00017.17
8.0.260.0030.00316.87
8.0.250.0040.00416.90
8.0.240.0000.00716.78
8.0.230.0000.00716.82
8.0.220.0030.00316.70
8.0.210.0030.00316.87
8.0.200.0040.00416.82
8.0.190.0030.00416.76
8.0.180.0040.00416.86
8.0.170.0030.00616.74
8.0.160.0000.00716.86
8.0.150.0000.00916.81
8.0.140.0050.00316.77
8.0.130.0030.00313.21
8.0.120.0000.00816.81
8.0.110.0040.00416.84
8.0.100.0040.00416.69
8.0.90.0040.00416.75
8.0.80.0030.01616.89
8.0.70.0040.00416.84
8.0.60.0040.00416.67
8.0.50.0050.00316.82
8.0.30.0090.00916.87
8.0.20.0050.01417.00
8.0.10.0040.00416.91
8.0.00.0070.01216.64
7.4.330.0050.00012.85
7.4.320.0070.00016.45
7.4.300.0000.00616.42
7.4.290.0060.00016.36
7.4.280.0040.00416.50
7.4.270.0070.00016.58
7.4.260.0000.00513.35
7.4.250.0060.00316.50
7.4.240.0070.00016.45
7.4.230.0000.00716.49
7.4.220.0060.01016.50
7.4.210.0120.00616.55
7.4.200.0000.00716.50
7.4.190.0000.00716.59
7.4.160.0100.00616.43
7.4.150.0090.00916.49
7.4.140.0120.00616.43
7.4.130.0090.00916.23
7.4.120.0090.00816.68
7.4.110.0100.00716.61
7.4.100.0080.00816.38
7.4.90.0150.00316.46
7.4.80.0100.00919.39
7.4.70.0040.01216.65
7.4.60.0000.01516.55
7.4.50.0000.00616.16
7.4.40.0110.00716.59
7.4.30.0100.01016.45
7.4.00.0000.01514.98
7.3.330.0000.00613.19
7.3.320.0000.00513.29
7.3.310.0070.00016.09
7.3.300.0030.00316.25
7.3.290.0070.01016.21
7.3.280.0100.00716.24
7.3.270.0100.00616.21
7.3.260.0030.01316.14
7.3.250.0120.00816.35
7.3.240.0030.01316.42
7.3.230.0080.00816.41
7.3.210.0130.00316.35
7.3.200.0100.01216.32
7.3.190.0030.01416.31
7.3.180.0100.00616.30
7.3.170.0100.01016.30
7.3.160.0030.01316.50
7.3.120.0170.00014.65
7.3.10.0140.00316.41
7.3.00.0120.00816.36
7.2.330.0150.00316.57
7.2.320.0130.00316.63
7.2.310.0070.01616.47
7.2.300.0110.01216.54
7.2.290.0080.01316.64
7.2.130.0100.01016.73
7.2.120.0220.00016.49
7.2.110.0140.00516.41
7.2.100.0160.00516.82
7.2.90.0140.01116.58
7.2.80.0140.00716.32
7.2.70.0190.00216.29
7.2.60.0150.00516.32
7.2.50.0070.01516.39
7.2.40.0140.00316.36
7.2.30.0120.00616.82
7.2.20.0150.00316.32
7.2.10.0130.00616.68
7.2.00.0120.00717.88
7.1.250.0120.00715.13
7.1.100.0000.01317.62
7.1.70.0060.00316.72
7.1.60.0080.00419.30
7.1.50.0040.00716.68
7.1.00.0000.08022.57
7.0.200.0270.01014.71
7.0.140.0030.07322.08
7.0.120.0100.07022.14
7.0.60.0070.05019.93
7.0.50.0130.08017.73
7.0.40.0130.07320.30
7.0.30.0330.07720.07
7.0.20.0200.08320.09
7.0.10.0200.07020.13
7.0.00.0130.08020.27
5.6.280.0070.07021.07
5.6.210.0070.05720.63
5.6.200.0030.04018.21
5.6.190.0030.05020.63
5.6.180.0300.08020.59
5.6.170.0270.08320.47
5.6.160.0130.07720.39
5.6.150.0170.07318.18
5.6.140.0030.05318.27
5.6.130.0100.07018.21
5.6.120.0030.05321.14
5.6.110.0070.07021.00
5.6.100.0100.06720.98
5.6.90.0230.06320.88
5.6.80.0130.06320.35
5.6.70.0370.07020.37
5.5.350.0270.06720.36
5.5.340.0030.04018.09
5.5.330.0030.04020.31
5.5.320.0370.06720.42
5.5.310.0200.04020.24
5.5.300.0100.04317.92
5.5.290.0000.05017.98
5.5.280.0000.04320.81
5.5.270.0070.08320.97
5.5.260.0000.04320.98
5.5.250.0070.03720.80
5.5.240.0100.03320.27
5.4.450.0100.07719.49
5.4.440.0070.07719.57
5.4.430.0170.05719.18
5.4.420.0100.04719.48
5.4.410.0070.07719.05
5.4.400.0030.06018.86
5.4.390.0070.07719.12
5.4.380.0100.04719.00
5.4.370.0170.06318.87
5.4.360.0030.05719.15
5.4.350.0100.03719.14
5.4.340.0100.07019.25
5.4.320.0070.07719.02
5.4.310.0070.03718.98
5.4.300.0070.03718.92
5.4.290.0100.05018.86
5.4.280.0100.07019.00
5.4.270.0030.04718.92
5.4.260.0070.03719.23
5.4.250.0100.07319.23
5.4.240.0100.04318.99
5.4.230.0130.07019.14
5.4.220.0030.04019.19
5.4.210.0030.05319.13
5.4.200.0030.04319.14
5.4.190.0070.05019.06
5.4.180.0070.06019.23
5.4.170.0000.07719.22
5.4.160.0070.08019.13
5.4.150.0100.08019.10
5.4.140.0200.06016.42
5.4.130.0030.06016.31
5.4.120.0000.07016.58
5.4.110.0100.04716.50
5.4.100.0070.07316.52
5.4.90.0070.08016.58
5.4.80.0070.05316.46
5.4.70.0070.05016.45
5.4.60.0030.04016.46
5.4.50.0070.07016.40
5.4.40.0030.04716.22
5.4.30.0030.05016.27
5.4.20.0100.07016.43
5.4.10.0100.06716.38
5.4.00.0000.07015.81
5.3.290.0070.04314.56
5.3.280.0130.07014.76
5.3.270.0170.06714.62
5.3.260.0070.06314.61
5.3.250.0130.06314.63
5.3.240.0030.08014.63
5.3.230.0070.07014.65
5.3.220.0100.07314.72
5.3.210.0100.04014.61
5.3.200.0070.07014.57
5.3.190.0170.06714.45
5.3.180.0100.04014.58
5.3.170.0000.04714.57
5.3.160.0100.03014.56
5.3.150.0100.03314.48
5.3.140.0030.07714.56
5.3.130.0100.07314.61
5.3.120.0170.07014.57
5.3.110.0200.05714.69
5.3.100.0030.04714.04
5.3.90.0170.03313.94
5.3.80.0000.07313.91
5.3.70.0100.07014.04
5.3.60.0030.04014.06
5.3.50.0170.03014.11
5.3.40.0070.04714.12
5.3.30.0030.05013.86
5.3.20.0070.03313.75
5.3.10.0030.03713.66
5.3.00.0030.05013.70
5.2.170.0030.03011.20
5.2.160.0030.05011.21
5.2.150.0070.05311.20
5.2.140.0100.03311.32
5.2.130.0000.03711.00
5.2.120.0000.04011.06
5.2.110.0000.03311.13
5.2.100.0070.03311.16
5.2.90.0030.06311.18
5.2.80.0030.06311.11
5.2.70.0030.05711.26
5.2.60.0070.02711.05
5.2.50.0000.03710.98
5.2.40.0030.03311.15
5.2.30.0000.03710.93
5.2.20.0100.03011.11
5.2.10.0030.03310.91
5.2.00.0100.05310.71
5.1.60.0070.04010.02
5.1.50.0070.05010.00
5.1.40.0030.05010.00
5.1.30.0000.06710.35
5.1.20.0000.03010.36
5.1.10.0000.04010.03
5.1.00.0030.03010.12
5.0.50.0000.0338.51
5.0.40.0030.0378.41
5.0.30.0070.0308.21
5.0.20.0030.0278.22
5.0.10.0000.0238.20
5.0.00.0070.0478.20
4.4.90.0030.0308.20
4.4.80.0030.0378.20
4.4.70.0000.0208.20
4.4.60.0000.0308.20
4.4.50.0000.0238.20
4.4.40.0000.0578.20
4.4.30.0070.0308.20
4.4.20.0030.0378.20
4.4.10.0030.0308.20
4.4.00.0000.0608.20
4.3.110.0070.0208.20
4.3.100.0030.0338.20
4.3.90.0030.0308.20
4.3.80.0130.0378.20
4.3.70.0000.0378.20
4.3.60.0000.0238.20
4.3.50.0000.0178.20
4.3.40.0000.0238.20
4.3.30.0000.0208.20
4.3.20.0000.0378.20
4.3.10.0000.0408.20
4.3.00.0130.0178.20

preferences:
52.58 ms | 401 KiB | 5 Q