3v4l.org

run code in 300+ PHP versions simultaneously
<?php class foo { static function foo() { } }

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.0180.00416.75
8.3.50.0100.00316.47
8.3.40.0100.00618.47
8.3.30.0150.00018.48
8.3.20.0040.00420.39
8.3.10.0070.00021.76
8.3.00.0080.00023.37
8.2.180.0120.00616.32
8.2.170.0120.00318.72
8.2.160.0180.00322.96
8.2.150.0020.00525.66
8.2.140.0100.01024.66
8.2.130.0050.00319.70
8.2.120.0070.00026.35
8.2.110.0030.00622.06
8.2.100.0030.00618.83
8.1.280.0090.00625.92
8.1.270.0070.00323.91
8.1.260.0090.00028.09
8.1.250.0040.00428.09
8.1.240.0070.00318.45
8.1.230.0040.00418.44
7.0.00.0100.07720.23
5.6.160.0100.08020.55
5.6.150.0070.04318.18
5.6.140.0070.05718.14
5.6.130.0100.04718.15
5.6.120.0170.07321.14
5.6.110.0130.07720.99
5.6.100.0130.07320.98
5.6.90.0100.04721.10
5.6.80.0070.03320.37
5.5.300.0170.06018.05
5.5.290.0130.03017.96
5.5.280.0070.05020.88
5.5.270.0030.06020.93
5.5.260.0030.07320.79
5.5.250.0070.05020.77
5.5.240.0270.06320.16
5.4.450.0280.06219.46
5.4.440.0420.05719.48
5.4.430.0370.06219.43
5.4.420.0320.05019.56
5.4.410.0370.06319.28
5.4.400.0170.05019.05
5.4.390.0480.05519.07
5.4.380.0520.05219.02
5.4.370.0700.05319.19
5.4.360.0400.06019.17
5.4.350.0350.06019.16
5.4.340.0300.05719.19
5.4.320.0480.04719.08
5.4.310.0250.06219.13
5.4.300.0430.05218.93
5.4.290.0450.04819.20
5.4.280.0320.05519.24
5.4.270.0470.04519.11
5.4.260.0450.05319.24
5.4.250.0470.05019.21
5.4.240.0670.05519.20
5.4.230.0450.06719.02
5.4.220.0500.06319.17
5.4.210.0470.05819.09
5.4.200.0370.05719.11
5.4.190.0470.05519.19
5.4.180.0320.06019.14
5.4.170.0330.06219.22
5.4.160.0550.05319.13
5.4.150.0380.06719.22
5.4.140.0420.05516.53
5.4.130.0380.05216.40
5.4.120.0450.05016.44
5.4.110.0480.05516.52
5.4.100.0380.05216.56
5.4.90.0070.05316.50
5.4.80.0100.05316.62
5.4.70.0100.05316.55
5.4.60.0170.07316.48
5.4.50.0200.04316.59
5.4.40.0200.04316.48
5.4.30.0170.05016.54
5.4.20.0100.07016.48
5.4.10.0200.05016.48
5.4.00.0230.04315.95
5.3.290.0400.05714.66
5.3.280.0470.05514.56
5.3.270.0370.05514.48
5.3.260.0420.05814.60
5.3.250.0420.05314.60
5.3.240.0380.05014.63
5.3.230.0400.06214.54
5.3.220.0420.05314.61
5.3.210.0480.05714.61
5.3.200.0320.05014.54
5.3.190.0230.04014.61
5.3.180.0170.05014.53
5.3.170.0130.05014.56
5.3.160.0130.05314.57
5.3.150.0200.05014.48
5.3.140.0100.06014.63
5.3.130.0100.06714.37
5.3.120.0270.05014.54
5.3.110.0170.05714.55
5.3.100.0100.05714.09
5.3.90.0200.04714.07
5.3.80.0270.03714.01
5.3.70.0270.04014.16
5.3.60.0200.05313.96
5.3.50.0170.06013.99
5.3.40.0200.06313.93
5.3.30.0100.05313.90
5.3.20.0100.05013.69
5.3.10.0200.06013.65
5.3.00.0130.05313.46
5.2.170.0130.04011.18
5.2.160.0130.04011.29
5.2.150.0200.03711.11
5.2.140.0100.04311.13
5.2.130.0170.03711.17
5.2.120.0170.03311.14
5.2.110.0100.05011.04
5.2.100.0100.04311.02
5.2.90.0170.04011.09
5.2.80.0230.04011.09
5.2.70.0170.04311.25
5.2.60.0130.04711.05
5.2.50.0170.04311.17
5.2.40.0300.04010.96
5.2.30.0130.04311.11
5.2.20.0200.04010.98
5.2.10.0170.05010.83
5.2.00.0200.04710.76
5.1.60.0200.0339.84
5.1.50.0100.0379.88
5.1.40.0170.0309.86
5.1.30.0070.04310.23
5.1.20.0230.03310.31
5.1.10.0170.03710.05
5.1.00.0130.04010.06
5.0.50.0070.0438.55
5.0.40.0130.0238.40
5.0.30.0000.0508.36
5.0.20.0130.0208.24
5.0.10.0070.0308.24
5.0.00.0100.0478.24
4.4.90.0100.0208.24
4.4.80.0030.0308.24
4.4.70.0070.0238.24
4.4.60.0100.0178.24
4.4.50.0070.0308.24
4.4.40.0130.0308.24
4.4.30.0070.0238.24
4.4.20.0100.0208.24
4.4.10.0100.0238.24
4.4.00.0030.0378.24
4.3.110.0070.0238.24
4.3.100.0100.0178.24
4.3.90.0070.0208.24
4.3.80.0070.0308.24
4.3.70.0170.0138.24
4.3.60.0030.0238.24
4.3.50.0030.0278.24
4.3.40.0070.0408.24
4.3.30.0070.0238.24
4.3.20.0130.0338.24
4.3.10.0100.0238.24
4.3.00.0030.0238.24

preferences:
36.81 ms | 400 KiB | 5 Q