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() { forward_static_call(array('A', '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.70.0070.00716.50
8.3.60.0210.00016.63
8.3.50.0150.00717.55
8.3.40.0110.00418.68
8.3.30.0130.00718.63
8.3.20.0050.00318.74
8.3.10.0000.00820.39
8.3.00.0040.00419.12
8.2.180.0120.00916.63
8.2.170.0110.00422.96
8.2.160.0100.00321.01
8.2.150.0090.00024.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0080.00020.67
8.2.110.0100.00721.18
8.2.100.0000.01117.84
8.2.90.0050.00519.29
8.2.80.0000.00919.21
8.2.70.0060.00317.50
8.2.60.0000.00817.68
8.2.50.0030.00618.07
8.2.40.0050.00318.16
8.2.30.0050.00218.02
8.2.20.0000.00717.60
8.2.10.0080.00017.55
8.2.00.0040.00417.59
8.1.280.0170.00325.92
8.1.270.0040.00424.66
8.1.260.0080.00026.35
8.1.250.0070.00028.09
8.1.240.0090.00022.21
8.1.230.0070.00420.95
8.1.220.0050.00317.74
8.1.210.0100.00018.77
8.1.200.0070.00317.22
8.1.190.0000.00717.40
8.1.180.0080.00018.10
8.1.170.0030.00620.50
8.1.160.0070.00018.83
8.1.150.0000.00718.57
8.1.140.0000.00817.38
8.1.130.0000.00717.73
8.1.120.0080.00017.29
8.1.110.0050.00317.38
8.1.100.0030.00417.34
8.1.90.0040.00417.40
8.1.80.0000.00717.39
8.1.70.0070.00317.38
8.1.60.0030.00617.46
8.1.50.0040.00417.49
8.1.40.0000.00817.41
8.1.30.0040.00417.60
8.1.20.0040.00417.55
8.1.10.0040.00417.61
8.1.00.0000.00717.51
8.0.300.0040.00420.03
8.0.290.0050.00216.75
8.0.280.0040.00418.36
8.0.270.0030.00317.26
8.0.260.0000.00816.74
8.0.250.0030.00616.77
8.0.240.0050.00216.90
8.0.230.0050.00316.76
8.0.220.0080.00016.82
8.0.210.0050.00316.90
8.0.200.0030.00316.83
8.0.190.0000.00716.92
8.0.180.0030.00716.72
8.0.170.0000.00816.72
8.0.160.0030.00316.84
8.0.150.0050.00316.74
8.0.140.0060.00516.69
8.0.130.0030.00313.27
8.0.120.0050.00316.80
8.0.110.0000.00816.77
8.0.100.0050.00216.78
8.0.90.0000.00716.72
8.0.80.0110.01116.80
8.0.70.0030.00616.91
8.0.60.0020.00516.70
8.0.50.0030.00516.86
8.0.30.0100.00917.11
8.0.20.0190.00817.21
8.0.10.0070.00017.05
8.0.00.0070.01316.83
7.4.330.0050.00013.04
7.4.320.0030.00316.53
7.4.300.0000.00816.51
7.4.290.0030.00316.40
7.4.280.0000.00716.59
7.4.270.0030.00316.49
7.4.260.0050.00013.13
7.4.250.0050.00316.49
7.4.240.0050.00316.59
7.4.230.0070.00016.49
7.4.220.0130.01016.46
7.4.210.0090.00816.58
7.4.200.0040.00416.59
7.4.190.0030.00316.68
7.4.160.0030.01316.50
7.4.150.0090.00916.35
7.4.140.0070.01016.40
7.4.130.0070.01216.51
7.4.120.0150.00516.41
7.4.110.0090.00916.27
7.4.100.0060.01216.61
7.4.90.0030.01616.73
7.4.80.0070.01019.39
7.4.70.0080.00916.53
7.4.60.0040.01616.52
7.4.50.0030.00816.49
7.4.40.0060.01216.18
7.4.30.0080.00816.56
7.4.00.0030.01314.94
7.3.330.0030.00313.20
7.3.320.0030.00313.24
7.3.310.0040.00416.23
7.3.300.0000.00716.10
7.3.290.0070.01016.26
7.3.280.0080.01116.20
7.3.270.0100.01316.48
7.3.260.0120.00916.30
7.3.250.0060.00916.20
7.3.240.0100.00716.29
7.3.230.0100.00616.30
7.3.210.0040.01216.46
7.3.200.0100.00616.55
7.3.190.0100.00716.58
7.3.180.0050.01116.58
7.3.170.0090.00616.16
7.3.160.0130.00216.29
7.3.120.0090.00714.76
7.3.110.0070.01114.54
7.3.100.0000.01114.63
7.3.90.0000.01614.72
7.3.80.0040.01814.46
7.3.70.0060.01014.68
7.3.60.0080.00414.77
7.3.50.0030.01414.55
7.3.40.0070.00714.78
7.3.30.0070.01014.58
7.3.20.0090.00616.52
7.3.10.0100.00716.14
7.3.00.0060.00316.15
7.2.330.0110.00916.29
7.2.320.0100.00716.46
7.2.310.0060.01316.32
7.2.300.0130.01316.67
7.2.290.0080.00816.63
7.2.250.0030.01315.14
7.2.240.0030.01414.95
7.2.230.0090.00615.12
7.2.220.0030.00714.61
7.2.210.0030.00914.96
7.2.200.0090.00615.01
7.2.190.0080.00414.73
7.2.180.0060.01015.19
7.2.170.0090.00014.85
7.1.330.0070.00715.60
7.1.320.0030.01215.63
7.1.310.0060.00315.55
7.1.300.0060.00615.35
7.1.290.0070.00715.50
7.1.280.0070.00715.78
7.1.270.0090.00615.79
7.1.260.0030.01315.31
7.1.70.0030.00517.15
7.1.60.0110.01419.40
7.1.50.0110.01116.61
7.1.00.0030.03322.29
7.0.200.0070.00016.26
7.0.140.0030.07322.08
7.0.120.0070.06722.06
7.0.60.0070.06319.86
7.0.50.0130.03717.87
7.0.40.0000.05020.35
7.0.30.0230.04320.07
7.0.20.0230.08720.16
7.0.10.0270.08320.08
7.0.00.0100.07320.01
5.6.280.0030.07321.16
5.6.210.0200.05720.64
5.6.200.0070.08718.16
5.6.190.0030.08720.60
5.6.180.0230.05320.66
5.6.170.0270.07720.48
5.6.160.0000.04320.46
5.6.150.0030.06318.17
5.6.140.0100.05318.22
5.6.130.0130.04318.11
5.6.120.0130.07721.16
5.6.110.0170.08321.00
5.6.100.0100.08721.14
5.6.90.0030.09020.98
5.6.80.0070.06320.37
5.6.70.0400.06320.41
5.5.350.0230.04720.41
5.5.340.0070.04318.09
5.5.330.0030.04720.46
5.5.320.0170.05720.35
5.5.310.0400.06720.19
5.5.300.0200.06718.08
5.5.290.0170.07017.95
5.5.280.0200.07320.78
5.5.270.0130.04720.87
5.5.260.0100.08320.73
5.5.250.0170.07020.55
5.5.240.0130.04320.13
5.4.450.0100.07719.51
5.4.440.0100.07719.20
5.4.430.0130.08319.18
5.4.420.0070.07719.57
5.4.410.0100.07719.44
5.4.400.0100.07019.15
5.4.390.0100.06718.96
5.4.380.0000.05019.26
5.4.370.0070.07318.95
5.4.360.0070.07319.12
5.4.350.0070.07319.20
5.4.340.0030.08019.15
5.4.320.0100.04718.85
5.4.310.0170.06018.88
5.4.300.0070.07718.85
5.4.290.0070.07718.98
5.4.280.0030.05019.26
5.4.270.0000.07719.11
5.4.260.0030.07319.23
5.4.250.0100.06718.99
5.4.240.0000.08019.07
5.4.230.0070.07719.07
5.4.220.0000.04318.91
5.4.210.0100.06718.84
5.4.200.0100.07018.96
5.4.190.0270.05718.96
5.4.180.0070.06018.84
5.4.170.0030.04019.11
5.4.160.0030.04018.85
5.4.150.0100.03318.84
5.4.140.0030.03716.59
5.4.130.0130.06716.59
5.4.120.0130.06316.39
5.4.110.0070.07316.48
5.4.100.0100.06716.38
5.4.90.0000.07016.44
5.4.80.0030.05016.44
5.4.70.0030.04316.46
5.4.60.0070.07716.65
5.4.50.0130.06316.37
5.4.40.0130.06316.43
5.4.30.0070.03016.41
5.4.20.0070.03016.40
5.4.10.0070.03316.50
5.4.00.0030.03315.85
5.3.290.0000.07314.72
5.3.280.0000.05014.65
5.3.270.0030.04014.66
5.3.260.0100.06014.63
5.3.250.0170.04314.65
5.3.240.0070.03714.68
5.3.230.0070.07714.61
5.3.220.0070.05714.58
5.3.210.0030.05014.48
5.3.200.0070.05314.71
5.3.190.0000.07714.62
5.3.180.0030.07714.61
5.3.170.0070.06014.71
5.3.160.0030.07014.71
5.3.150.0000.08314.59
5.3.140.0030.07014.56
5.3.130.0030.04314.57
5.3.120.0000.04014.63
5.3.110.0000.04014.54
5.3.100.0000.04714.04
5.3.90.0030.03714.18
5.3.80.0000.04014.03
5.3.70.0000.04014.04
5.3.60.0070.03714.16
5.3.50.0030.03713.95
5.3.40.0030.03313.93
5.3.30.0000.03713.94
5.3.20.0030.04013.65
5.3.10.0030.04330.48
5.3.00.0130.03330.93
5.2.170.0070.02311.08
5.2.160.0130.02311.32
5.2.150.0030.03011.20
5.2.140.0000.03011.16
5.2.130.0000.03011.15
5.2.120.0070.02311.13
5.2.110.0030.03011.17
5.2.100.0000.03011.00
5.2.90.0000.03011.04
5.2.80.0030.02711.07
5.2.70.0030.02711.02
5.2.60.0000.03010.95
5.2.50.0000.03011.02
5.2.40.0000.03011.04
5.2.30.0000.03010.89
5.2.20.0070.02311.00
5.2.10.0030.02710.83
5.2.00.0030.02710.68
5.1.60.0070.0239.98
5.1.50.0000.0279.98
5.1.40.0000.0239.95
5.1.30.0070.02310.34
5.1.20.0000.02710.36
5.1.10.0000.02710.23
5.1.00.0030.0239.98
5.0.50.0000.0208.53
5.0.40.0030.0178.43
5.0.30.0000.0338.14
5.0.20.0000.0208.16
5.0.10.0030.0178.18
5.0.00.0070.0238.07
4.4.90.0000.0137.82
4.4.80.0000.0177.82
4.4.70.0030.0137.82
4.4.60.0000.0177.82
4.4.50.0000.0177.82
4.4.40.0000.0277.82
4.4.30.0000.0177.82
4.4.20.0030.0137.82
4.4.10.0030.0137.82
4.4.00.0000.0237.82
4.3.110.0000.0177.82
4.3.100.0000.0177.82
4.3.90.0000.0137.82
4.3.80.0000.0237.82
4.3.70.0000.0137.82
4.3.60.0000.0137.82
4.3.50.0000.0177.82
4.3.40.0000.0237.82
4.3.30.0000.0207.82
4.3.20.0070.0307.82
4.3.10.0030.0307.82
4.3.00.0070.0277.82

preferences:
50.03 ms | 401 KiB | 5 Q