3v4l.org

run code in 300+ PHP versions simultaneously
<?php class T { public function __callStatic($method, $args) { echo "__callStatic() called\n"; } public function f() { echo "f() called\n"; } } T::f();

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.0140.00316.63
8.3.50.0150.00521.15
8.3.40.0150.00318.53
8.3.30.0110.00418.64
8.3.20.0040.00420.09
8.3.10.0040.00423.61
8.3.00.0040.00419.68
8.2.180.0110.00718.41
8.2.170.0090.01222.96
8.2.160.0100.00320.52
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0060.00326.16
8.2.120.0030.00617.63
8.2.110.0060.00322.27
8.2.100.0060.00617.50
8.2.90.0040.00418.92
8.2.80.0080.00017.97
8.2.70.0040.00417.50
8.2.60.0040.00417.80
8.2.50.0050.00318.07
8.2.40.0050.00519.12
8.2.30.0040.00419.64
8.2.20.0000.00717.63
8.2.10.0000.00717.93
8.2.00.0080.00017.91
8.1.280.0170.00325.92
8.1.270.0040.00420.39
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0070.00322.33
8.1.230.0080.00417.42
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0030.00617.11
8.1.190.0050.00316.88
8.1.180.0000.00818.10
8.1.170.0050.00518.46
8.1.160.0000.00721.92
8.1.150.0000.00818.75
8.1.140.0050.00317.28
8.1.130.0070.00017.57
8.1.120.0040.00417.32
8.1.110.0050.00317.24
8.1.100.0070.00417.30
8.1.90.0070.00017.22
8.1.80.0000.00717.36
8.1.70.0000.00717.31
8.1.60.0060.00317.45
8.1.50.0000.00817.41
8.1.40.0000.00817.39
8.1.30.0040.00417.54
8.1.20.0030.00517.43
8.1.10.0070.00417.38
8.1.00.0000.00817.38
8.0.300.0040.00418.77
8.0.290.0070.00016.63
8.0.280.0030.00318.24
8.0.270.0030.00316.99
8.0.260.0060.00017.11
8.0.250.0000.00716.87
8.0.240.0030.00616.93
8.0.230.0070.00016.84
8.0.220.0030.00316.79
8.0.210.0030.00316.81
8.0.200.0030.00316.80
8.0.190.0070.00016.75
8.0.180.0000.00716.75
8.0.170.0060.00316.88
8.0.160.0030.00316.78
8.0.150.0080.00016.81
8.0.140.0070.00016.81
8.0.130.0070.00013.28
8.0.120.0000.00716.66
8.0.110.0000.00716.77
8.0.100.0050.00216.68
8.0.90.0040.00416.73
8.0.80.0040.01116.82
8.0.70.0000.00716.81
8.0.60.0000.00916.68
8.0.50.0000.00716.61
8.0.30.0080.00916.91
8.0.20.0090.01817.40
8.0.10.0000.00816.75
8.0.00.0100.00716.71
7.4.330.0020.00215.08
7.4.320.0040.00416.40
7.4.300.0000.00616.51
7.4.290.0030.00316.54
7.4.280.0040.00416.44
7.4.270.0050.00216.36
7.4.260.0000.00616.42
7.4.250.0020.00516.46
7.4.240.0020.00516.49
7.4.230.0070.00016.59
7.4.220.0100.01316.55
7.4.210.0070.00716.48
7.4.200.0000.00816.54
7.4.150.0120.00917.40
7.4.140.0120.00817.86
7.4.130.0090.01116.40
7.4.120.0100.00616.45
7.4.110.0120.01016.50
7.4.100.0120.01016.45
7.4.90.0090.00916.23
7.4.80.0030.01919.39
7.4.70.0100.00716.48
7.4.60.0120.00416.38
7.4.50.0040.00416.22
7.4.40.0090.00816.71
7.4.30.0070.01116.51
7.4.00.0030.01014.92
7.3.330.0000.00613.06
7.3.320.0000.00513.25
7.3.310.0030.00316.25
7.3.300.0000.00616.24
7.3.290.0060.01216.25
7.3.280.0110.01016.25
7.3.270.0090.01317.40
7.3.260.0130.01016.45
7.3.250.0100.00716.49
7.3.240.0170.00016.52
7.3.230.0160.00316.45
7.3.210.0100.00716.27
7.3.200.0160.00016.26
7.3.190.0140.00916.22
7.3.180.0090.00616.52
7.3.170.0140.00716.35
7.3.160.0060.01516.25
7.2.330.0070.01016.47
7.2.320.0100.01316.68
7.2.310.0100.00716.53
7.2.300.0100.00716.45
7.2.290.0190.00316.58
7.2.60.0100.00316.67
7.2.00.0060.00619.14
7.1.200.0060.00315.66
7.1.100.0040.00718.07
7.1.70.0110.00417.11
7.1.60.0030.02020.03
7.1.50.0100.01316.95
7.1.00.0070.07322.44
7.0.200.0000.00816.39
7.0.60.0270.07019.82
7.0.50.0100.08717.88
7.0.40.0200.07720.05
7.0.30.0400.04720.11
7.0.20.0230.06320.06
7.0.10.0100.08320.19
7.0.00.0100.04320.22
5.6.280.0030.06720.93
5.6.210.0000.08720.55
5.6.200.0000.04318.20
5.6.190.0000.04720.55
5.6.180.0000.05020.54
5.6.170.0270.03320.62
5.6.160.0070.06020.55
5.6.150.0030.08718.15
5.6.140.0000.06018.17
5.6.130.0070.04318.15
5.6.120.0030.04321.02
5.6.110.0100.04021.01
5.6.100.0200.07021.07
5.6.90.0100.05321.10
5.6.80.0170.06720.54
5.6.70.4100.04320.39
5.5.350.0200.04020.30
5.5.340.0030.05718.05
5.5.330.0070.05320.31
5.5.320.0270.08020.27
5.5.310.0200.05020.37
5.5.300.0030.05017.95
5.5.290.0100.08317.98
5.5.280.0170.08020.77
5.5.270.0070.04320.65
5.5.260.0170.05720.68
5.5.250.0070.08020.61
5.5.240.0170.05720.26
5.4.450.0430.05019.61
5.4.440.0370.06019.45
5.4.430.0470.05019.57
5.4.420.0470.05719.47
5.4.410.0400.05019.03
5.4.400.0430.04719.15
5.4.390.0400.07719.15
5.4.380.0370.06019.26
5.4.370.0470.04719.14
5.4.360.0370.07019.28
5.4.350.0400.07018.98
5.4.340.0370.05719.01
5.4.320.0370.05319.26
5.4.310.0370.05019.05
5.4.300.0500.04319.14
5.4.290.0470.04319.05
5.4.280.0400.05318.86
5.4.270.0400.05019.15
5.4.260.0570.05019.14
5.4.250.0430.05319.30
5.4.240.0430.07319.11
5.4.230.0430.04718.97
5.4.220.0400.05319.36
5.4.210.0700.07019.27
5.4.200.0430.06719.25
5.4.190.0470.04719.11
5.4.180.0600.04718.99
5.4.170.0630.04319.11
5.4.160.0500.05319.10
5.4.150.0570.05318.82
5.4.140.0270.05716.46
5.4.130.0070.05716.41
5.4.120.0130.04316.43
5.4.110.0200.04016.66
5.4.100.0530.04316.66
5.4.90.0600.04716.62
5.4.80.0370.05316.55
5.4.70.0330.02316.59
5.4.60.0330.06016.54
5.4.50.0000.07716.22
5.4.40.0000.07316.53
5.4.30.0070.03716.50
5.4.20.0230.03316.42

preferences:
56.63 ms | 401 KiB | 5 Q