3v4l.org

run code in 300+ PHP versions simultaneously
<?php class C { public function f() { return 'foo'; } public static function __callStatic($method, $params) { $o = new static; echo "In callStatic\n"; return call_user_func_array(array($o, $method), $params); } } C::f(); C::x();

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.0150.00416.75
8.3.50.0140.00816.53
8.3.40.0140.00718.65
8.3.30.0040.01118.69
8.3.20.0030.00618.69
8.3.10.0060.00320.38
8.3.00.0080.00019.38
8.2.180.0110.00716.75
8.2.170.0120.00922.96
8.2.160.0070.00720.94
8.2.150.0040.00424.18
8.2.140.0100.00324.66
8.2.130.0000.00726.16
8.2.120.0080.00019.23
8.2.110.0060.00320.93
8.2.100.0040.00717.84
8.2.90.0000.00919.14
8.2.80.0000.00819.40
8.2.70.0080.00017.25
8.2.60.0000.00817.91
8.2.50.0000.00818.07
8.2.40.0090.00017.97
8.2.30.0020.00517.89
8.2.20.0000.00717.51
8.2.10.0000.00817.59
8.2.00.0080.00017.57
8.1.280.0090.00625.92
8.1.270.0080.00024.66
8.1.260.0030.00626.35
8.1.250.0040.00428.09
8.1.240.0040.01522.38
8.1.230.0060.00620.98
8.1.220.0000.00817.74
8.1.210.0040.00718.88
8.1.200.0070.00317.09
8.1.190.0040.00417.52
8.1.180.0050.00318.10
8.1.170.0000.00918.84
8.1.160.0040.00418.75
8.1.150.0000.00818.38
8.1.140.0050.00517.32
8.1.130.0000.00717.66
8.1.120.0030.00517.24
8.1.110.0040.00417.29
8.1.100.0000.00717.34
8.1.90.0000.00717.34
8.1.80.0000.00717.34
8.1.70.0030.00617.30
8.1.60.0080.00017.44
8.1.50.0040.00417.34
8.1.40.0040.00417.36
8.1.30.0080.00017.45
8.1.20.0000.00817.57
8.1.10.0070.00017.55
8.1.00.0130.00017.44
8.0.300.0000.00919.90
8.0.290.0070.00016.75
8.0.280.0000.00718.29
8.0.270.0000.00717.27
8.0.260.0070.00016.73
8.0.250.0040.00416.93
8.0.240.0100.00016.92
8.0.230.0030.00316.95
8.0.220.0040.00416.86
8.0.210.0070.00016.89
8.0.200.0040.00416.93
8.0.190.0040.00416.96
8.0.180.0070.00016.84
8.0.170.0000.00916.81
8.0.160.0040.00416.92
8.0.150.0060.00316.83
8.0.140.0000.00716.77
8.0.130.0000.00613.29
8.0.120.0000.00816.84
8.0.110.0040.00416.92
8.0.100.0040.00416.83
8.0.90.0040.00416.92
8.0.80.0060.00916.91
8.0.70.0050.00216.79
8.0.60.0000.00716.95
8.0.50.0000.00816.77
8.0.30.0060.01217.12
8.0.20.0100.00817.04
8.0.10.0040.00416.88
8.0.00.0090.01216.78
7.4.330.0000.00513.04
7.4.320.0040.00416.60
7.4.300.0000.00616.64
7.4.290.0030.00316.50
7.4.280.0090.00016.42
7.4.270.0000.00716.61
7.4.260.0030.00313.18
7.4.250.0080.00016.48
7.4.240.0070.00016.47
7.4.230.0050.00316.47
7.4.220.0040.01516.64
7.4.210.0070.00916.60
7.4.200.0000.00716.54
7.4.190.0040.00416.45
7.4.160.0090.00616.53
7.4.150.0150.00316.66
7.4.140.0090.01116.49
7.4.130.0120.00516.44
7.4.120.0120.00616.59
7.4.110.0100.00716.45
7.4.100.0100.00816.57
7.4.90.0070.01016.55
7.4.80.0060.01219.39
7.4.70.0110.00816.53
7.4.60.0070.01416.39
7.4.50.0030.00616.30
7.4.40.0060.00816.69
7.4.30.0140.00316.64
7.4.00.0090.00314.92
7.3.330.0030.00313.31
7.3.320.0050.00013.14
7.3.310.0030.00316.27
7.3.300.0030.00316.28
7.3.290.0090.00616.32
7.3.280.0070.00816.30
7.3.270.0090.00916.65
7.3.260.0110.00716.61
7.3.250.0090.01116.43
7.3.240.0140.00716.30
7.3.230.0060.01216.53
7.3.210.0100.00616.37
7.3.200.0090.01216.41
7.3.190.0060.01116.42
7.3.180.0090.00616.24
7.3.170.0070.01416.59
7.3.160.0060.01016.29
7.3.120.0030.01014.93
7.3.10.0030.01016.36
7.3.00.0040.00416.44
7.2.330.0130.01016.60
7.2.320.0100.00716.82
7.2.310.0170.00616.55
7.2.300.0090.00916.78
7.2.290.0110.00516.65
7.2.130.0070.01016.59
7.2.120.0040.00916.98
7.2.110.0060.00916.87
7.2.100.0080.00416.68
7.2.90.0000.01016.73
7.2.80.0120.00417.03
7.2.70.0060.00316.72
7.2.60.0090.00516.96
7.2.50.0030.01217.02
7.2.40.0110.00016.96
7.2.30.0040.00817.07
7.2.20.0090.00616.89
7.2.10.0070.00716.79
7.2.00.0020.01218.09
7.1.250.0040.01115.93
7.1.200.0000.01315.78
7.1.100.0070.00417.95
7.1.70.0050.00317.13
7.1.60.0030.02119.40
7.1.50.0070.01316.54
7.1.00.0000.07022.43
7.0.200.0000.00716.89
7.0.140.0030.07322.04
7.0.120.0070.07022.13
7.0.60.0030.05319.93
7.0.50.0030.08017.85
7.0.40.0130.07320.30
7.0.30.0230.04320.38
7.0.20.0230.05020.25
7.0.10.0370.07320.06
7.0.00.0000.04320.15
5.6.280.0100.08721.11
5.6.210.0170.07720.55
5.6.200.0070.05018.22
5.6.190.0030.05020.32
5.6.180.0230.04020.34
5.6.170.0270.06720.47
5.6.160.0100.08020.41
5.6.150.0070.07018.12
5.6.140.0070.08318.15
5.6.130.0070.04018.20
5.6.120.0100.05021.02
5.6.110.0100.06320.96
5.6.100.0030.07720.95
5.6.90.0100.08721.11
5.6.80.0100.05320.40
5.6.70.4330.03720.39
5.5.350.0330.07320.46
5.5.340.0000.08717.92
5.5.330.0100.03720.37
5.5.320.0030.08320.29
5.5.310.0330.07720.28
5.5.300.0030.04017.97
5.5.290.0070.05318.08
5.5.280.0100.08020.77
5.5.270.0000.06320.97
5.5.260.0100.08020.64
5.5.250.0000.04720.46
5.5.240.0100.07020.35
5.4.450.0030.05319.33
5.4.440.0070.07719.53
5.4.430.0030.04019.47
5.4.420.0070.04019.18
5.4.410.0070.07019.17
5.4.400.0170.06318.87
5.4.390.0100.07718.98
5.4.380.0070.07718.98
5.4.370.0100.07319.14
5.4.360.0130.03718.98
5.4.350.0070.07319.08
5.4.340.0030.05318.97
5.4.320.0070.04319.12
5.4.310.0100.03319.05
5.4.300.0070.07719.00
5.4.290.0030.05019.24
5.4.280.0070.06719.11
5.4.270.0100.06018.85
5.4.260.0070.05719.24
5.4.250.0030.08319.07
5.4.240.0070.06719.23
5.4.230.0000.04319.23
5.4.220.0130.06319.14
5.4.210.0030.07019.07
5.4.200.0030.05719.15
5.4.190.0130.03319.14
5.4.180.0030.07019.23
5.4.170.0070.08018.91
5.4.160.0070.07719.05
5.4.150.0030.08018.85
5.4.140.0100.05716.38
5.4.130.0130.04316.38
5.4.120.0070.07316.42
5.4.110.0070.07716.53
5.4.100.0200.04016.50
5.4.90.0130.04716.35
5.4.80.0170.06316.37
5.4.70.0130.06316.52
5.4.60.0070.07316.35
5.4.50.0030.06016.44
5.4.40.0000.06316.31
5.4.30.0070.03716.50
5.4.20.0030.07316.42
5.4.10.0000.06316.38
5.4.00.0030.04715.82
5.3.290.0000.05314.72
5.3.280.0170.03714.65
5.3.270.0030.08014.61
5.3.260.0070.06314.63
5.3.250.0100.07014.64
5.3.240.0130.06314.62
5.3.230.0030.03714.61
5.3.220.0070.05014.56
5.3.210.0030.04014.45
5.3.200.0100.07014.59
5.3.190.0130.06314.58
5.3.180.0030.07314.57
5.3.170.0070.07714.71
5.3.160.0100.06014.53
5.3.150.0000.04314.73
5.3.140.0100.06314.56
5.3.130.0030.03714.70
5.3.120.0030.07714.55
5.3.110.0030.07714.57
5.3.100.0070.07314.20
5.3.90.0030.04013.92
5.3.80.0070.07013.97
5.3.70.0130.05313.91
5.3.60.0070.04314.02
5.3.50.0070.06713.87
5.3.40.0070.04314.02
5.3.30.0030.05013.86
5.3.20.0000.04013.64
5.3.10.0100.05713.66
5.3.00.0000.07013.64
5.2.170.0000.06311.21
5.2.160.0030.06011.30
5.2.150.0030.06011.15
5.2.140.0030.03311.30
5.2.130.0000.04711.07
5.2.120.0070.05711.25
5.2.110.0030.02711.05
5.2.100.0000.06011.12
5.2.90.0030.05711.09
5.2.80.0030.05011.11
5.2.70.0000.06711.09
5.2.60.0000.04711.05
5.2.50.0000.04711.02
5.2.40.0030.03310.96
5.2.30.0000.06310.94
5.2.20.0000.06311.04
5.2.10.0000.03010.78
5.2.00.0030.05710.60
5.1.60.0030.0279.98
5.1.50.0070.0539.96
5.1.40.0030.05710.00
5.1.30.0070.04310.30
5.1.20.0100.05010.41
5.1.10.0130.04710.09
5.1.00.0000.04310.09
5.0.50.0000.0408.55
5.0.40.0000.0238.52
5.0.30.0000.0308.21
5.0.20.0000.0208.21
5.0.10.0030.0208.21
5.0.00.0000.0338.21
4.4.90.0030.0208.21
4.4.80.0030.0278.21
4.4.70.0000.0378.21
4.4.60.0000.0178.21
4.4.50.0000.0178.21
4.4.40.0030.0538.21
4.4.30.0000.0378.21
4.4.20.0000.0178.21
4.4.10.0000.0278.21
4.4.00.0000.0508.21
4.3.110.0030.0138.21
4.3.100.0070.0108.21
4.3.90.0000.0138.21
4.3.80.0000.0238.21
4.3.70.0070.0108.21
4.3.60.0000.0138.21
4.3.50.0030.0138.21
4.3.40.0000.0238.21
4.3.30.0000.0178.21
4.3.20.0030.0138.21
4.3.10.0000.0138.21
4.3.00.0000.0138.21

preferences:
54.32 ms | 401 KiB | 5 Q