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->text();

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.0170.00316.63
8.3.50.0070.01121.95
8.3.40.0140.00018.84
8.3.30.0080.00618.96
8.3.20.0070.00020.34
8.3.10.0000.00723.64
8.3.00.0030.00519.38
8.2.180.0150.00018.41
8.2.170.0090.00622.96
8.2.160.0110.00420.36
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0050.00326.16
8.2.120.0080.00022.11
8.2.110.0030.00722.25
8.2.100.0040.00817.97
8.2.90.0040.00419.21
8.2.80.0030.00517.97
8.2.70.0070.00717.63
8.2.60.0040.00417.90
8.2.50.0030.00518.07
8.2.40.0040.00418.16
8.2.30.0060.00617.98
8.2.20.0070.00017.63
8.2.10.0040.00419.84
8.2.00.0000.01017.70
8.1.280.0120.00625.92
8.1.270.0040.00422.18
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0090.00023.89
8.1.230.0030.00719.15
8.1.220.0030.00517.74
8.1.210.0000.00918.77
8.1.200.0030.00617.00
8.1.190.0000.00817.65
8.1.180.0000.00918.10
8.1.170.0050.00318.52
8.1.160.0080.00021.82
8.1.150.0030.00818.62
8.1.140.0040.00417.29
8.1.130.0070.00017.73
8.1.120.0000.00717.31
8.1.110.0070.00017.33
8.1.100.0000.00717.45
8.1.90.0080.00017.27
8.1.80.0030.00317.40
8.1.70.0030.00317.34
8.1.60.0040.00417.61
8.1.50.0050.00317.57
8.1.40.0040.00417.56
8.1.30.0000.00817.60
8.1.20.0040.00417.64
8.1.10.0050.00217.55
8.1.00.0000.00817.36
8.0.300.0040.00418.77
8.0.290.0030.00617.18
8.0.280.0070.00018.44
8.0.270.0040.00417.16
8.0.260.0000.00616.82
8.0.250.0030.00316.91
8.0.240.0060.00316.86
8.0.230.0070.00016.89
8.0.220.0070.00016.89
8.0.210.0030.00616.89
8.0.200.0060.00016.91
8.0.190.0000.00716.88
8.0.180.0000.00716.80
8.0.170.0050.00316.82
8.0.160.0000.00816.81
8.0.150.0030.00416.80
8.0.140.0000.00816.75
8.0.130.0070.00013.29
8.0.120.0050.00316.77
8.0.110.0000.00716.72
8.0.100.0040.00416.90
8.0.90.0000.00816.72
8.0.80.0080.00816.95
8.0.70.0050.00316.93
8.0.60.0040.00416.84
8.0.50.0040.00416.84
8.0.30.0050.01517.13
8.0.20.0120.00917.43
8.0.10.0030.00516.88
8.0.00.0080.01016.74
7.4.330.0050.00015.00
7.4.320.0030.00316.53
7.4.300.0030.00316.60
7.4.290.0000.00716.49
7.4.280.0030.00316.48
7.4.270.0030.00316.43
7.4.260.0040.00416.60
7.4.250.0070.00016.45
7.4.240.0030.00316.47
7.4.230.0000.00716.39
7.4.220.0060.01116.56
7.4.210.0080.00816.55
7.4.200.0050.00316.58
7.4.190.0040.00416.56
7.4.160.0120.00316.51
7.4.150.0090.00917.40
7.4.140.0090.00917.86
7.4.130.0090.00816.52
7.4.120.0090.00916.45
7.4.110.0030.01616.64
7.4.100.0160.01216.50
7.4.90.0130.00716.61
7.4.80.0030.01519.39
7.4.70.0100.00516.52
7.4.60.0110.00716.45
7.4.50.0030.00616.49
7.4.40.0120.00322.77
7.4.30.0090.00916.39
7.4.00.0100.00714.85
7.3.330.0000.00513.23
7.3.320.0030.00313.17
7.3.310.0050.00216.26
7.3.300.0070.00016.32
7.3.290.0100.01016.28
7.3.280.0080.00916.35
7.3.270.0070.01017.40
7.3.260.0060.01916.64
7.3.250.0070.00916.40
7.3.240.0160.00016.57
7.3.230.0000.01516.60
7.3.210.0100.00716.31
7.3.200.0030.01519.39
7.3.190.0130.00316.47
7.3.180.0080.00816.32
7.3.170.0040.01116.39
7.3.160.0100.00516.37
7.3.120.0000.01415.10
7.2.330.0120.00616.73
7.2.320.0100.00716.67
7.2.310.0070.01116.63
7.2.300.0090.00916.66
7.2.290.0090.00916.53
7.2.60.0000.01016.73
7.1.200.0070.00715.66
7.1.70.0040.00416.83
7.1.60.0040.02119.33
7.1.50.0070.01516.98
7.1.00.0130.06722.25
7.0.200.0030.00616.71
7.0.140.0070.06322.21
7.0.60.0100.06319.94
7.0.50.0070.08317.87
7.0.40.0070.08320.17
7.0.30.0430.03720.20
7.0.20.0330.07720.28
7.0.10.0000.04320.07
7.0.00.0100.08720.33
5.6.280.0100.06720.83
5.6.210.0070.05720.67
5.6.200.0130.03718.23
5.6.190.0000.05020.46
5.6.180.0100.04320.48
5.6.170.0170.04020.48
5.6.160.0130.03720.61
5.6.150.0100.07018.18
5.6.140.0070.04018.14
5.6.130.0030.05018.18
5.6.120.0130.04721.02
5.6.110.0030.08721.12
5.6.100.0230.06320.98
5.6.90.0100.07720.98
5.6.80.0030.06720.51
5.6.70.4100.03720.37
5.5.350.0030.08720.35
5.5.340.0070.04718.03
5.5.330.0070.08320.13
5.5.320.0330.04020.35
5.5.310.0370.04020.44
5.5.300.0000.04317.96
5.5.290.0030.06017.98
5.5.280.0100.03320.68
5.5.270.0070.08320.77
5.5.260.0030.07320.73
5.5.250.0130.07720.59
5.5.240.0270.07320.33
5.4.450.0300.04019.51
5.4.440.0270.04319.32
5.4.430.0330.07019.38
5.4.420.0300.07319.63
5.4.410.0300.06719.04
5.4.400.0300.07019.16
5.4.390.0400.06319.15
5.4.380.0270.05019.32
5.4.370.0270.05319.02
5.4.360.0400.05319.19
5.4.350.0230.05019.31
5.4.340.0300.04319.15
5.4.320.0430.03719.13
5.4.310.0200.04319.13
5.4.300.0270.04319.08
5.4.290.0230.05019.08
5.4.280.0300.07719.06
5.4.270.0300.05718.86
5.4.260.0330.07018.87
5.4.250.0370.05718.86
5.4.240.0270.03719.08
5.4.230.0230.04319.14
5.4.220.0430.06019.13
5.4.210.0230.05019.16
5.4.200.0370.06719.08
5.4.190.0230.04019.33
5.4.180.0300.04019.12
5.4.170.0270.04319.00
5.4.160.0400.06019.22
5.4.150.0330.04018.85
5.4.140.0300.05016.41
5.4.130.0270.04316.48
5.4.120.0230.04316.44
5.4.110.0300.04016.59
5.4.100.0370.06016.56
5.4.90.0230.04016.42
5.4.80.0230.03716.23
5.4.70.0330.06316.60
5.4.60.0470.02716.35
5.4.50.0300.07016.53
5.4.40.0400.05016.42
5.4.30.0330.04316.55
5.4.20.0300.06716.42
5.4.10.0430.05716.53
5.4.00.0300.06715.96
5.3.290.0270.03314.59
5.3.280.0370.06714.59
5.3.270.0300.04314.66
5.3.260.0230.06014.61
5.3.250.0230.04314.61
5.3.240.0230.06314.60
5.3.230.0200.05714.77
5.3.220.0270.04014.64
5.3.210.0270.04314.64
5.3.200.0270.07314.55
5.3.190.0300.05314.57
5.3.180.0270.04714.54
5.3.170.0300.04014.48
5.3.160.0270.05014.46
5.3.150.0270.06314.48
5.3.140.0330.07014.45
5.3.130.0300.04714.47
5.3.120.0330.03714.55
5.3.110.0530.04014.52
5.3.100.0270.07014.02
5.3.90.0370.06013.93
5.3.80.0270.04013.95
5.3.70.0270.06713.95
5.3.60.0300.06314.02
5.3.50.0300.04313.89
5.3.40.0330.07313.98
5.3.30.0300.06713.96
5.3.20.0370.02713.92
5.3.10.0270.04713.74
5.3.00.0370.03713.72
5.2.170.0270.03011.91
5.2.160.0300.04011.91
5.2.150.0200.04311.91
5.2.140.0230.06311.91
5.2.130.0300.05311.91
5.2.120.0300.05011.91
5.2.110.0230.02711.91
5.2.100.0200.03711.91
5.2.90.0270.04311.91
5.2.80.0200.05011.91
5.2.70.0200.03711.91
5.2.60.0270.05711.91
5.2.50.0230.04311.91
5.2.40.0270.05311.91
5.2.30.0200.03711.91
5.2.20.0170.04711.91
5.2.10.0270.02711.91
5.2.00.0270.02711.91
5.1.60.0230.02711.91
5.1.50.0130.03311.91
5.1.40.0200.04711.91
5.1.30.0230.03711.91
5.1.20.0300.03711.91
5.1.10.0230.04011.91
5.1.00.0130.03011.91
5.0.50.0130.03711.91
5.0.40.0100.05011.91
5.0.30.0130.05711.91
5.0.20.0130.02311.91
5.0.10.0100.04011.91
5.0.00.0100.03711.91
4.4.90.0070.02711.91
4.4.80.0130.02311.91
4.4.70.0100.01711.91
4.4.60.0070.03311.91
4.4.50.0070.03311.91
4.4.40.0100.03011.91
4.4.30.0130.02711.91
4.4.20.0130.02711.91
4.4.10.0100.03711.91
4.4.00.0070.05711.91
4.3.110.0100.03711.91
4.3.100.0130.01311.91
4.3.90.0130.03011.91
4.3.80.0200.02311.91
4.3.70.0170.03011.91
4.3.60.0100.03311.91
4.3.50.0070.02311.91
4.3.40.0100.02711.91
4.3.30.0030.03711.91
4.3.20.0030.02011.91
4.3.10.0030.03011.91
4.3.00.0100.01711.91

preferences:
40.47 ms | 401 KiB | 5 Q