3v4l.org

run code in 300+ PHP versions simultaneously
<?php function _f() { return 'success'; } $f = '_f'; echo $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.0.0beta10.0070.01016.75
8.0.0alpha30.0050.01416.62
8.0.0alpha20.0170.01016.63
8.0.0alpha10.0030.01416.54
7.4.80.0100.00719.39
7.4.70.0100.00716.64
7.4.60.0110.00516.51
7.4.50.0040.00416.60
7.4.40.0030.01222.77
7.4.30.0110.00716.47
7.4.00.0100.00714.71
7.3.200.0180.00319.39
7.3.190.0060.01616.24
7.3.180.0090.00616.39
7.3.170.0090.00716.27
7.3.160.0070.01016.46
7.3.120.0080.00614.52
7.2.320.0180.00016.58
7.2.310.0030.01616.52
7.2.300.0000.02216.36
7.2.290.0060.01216.40
7.2.110.0180.00416.14
7.2.60.0030.00916.68
7.1.200.0000.01215.52
7.1.70.0060.00317.11
7.1.60.0130.01319.46
7.1.50.0070.02016.79
7.1.00.0030.07722.46
7.0.200.0070.00716.61
7.0.140.0100.06721.95
7.0.80.0500.07319.89
7.0.70.0570.08719.90
7.0.60.0370.06019.91
7.0.50.0230.07320.30
7.0.40.0170.07720.08
7.0.30.0000.09020.07
7.0.20.0070.05020.05
7.0.10.0070.04320.09
7.0.00.0030.04320.17
5.6.280.0070.07020.82
5.6.230.0230.05320.59
5.6.220.0000.09020.53
5.6.210.0130.05320.75
5.6.200.0030.06321.00
5.6.190.0100.05721.03
5.6.180.0030.08721.07
5.6.170.0100.07021.02
5.6.160.0100.06320.96
5.6.150.0030.05721.11
5.6.140.0100.08321.01
5.6.130.0030.09020.93
5.6.120.0100.05721.00
5.6.110.0100.07721.02
5.6.100.0170.08021.07
5.6.90.0030.09021.04
5.6.80.0070.04320.47
5.6.70.0100.07020.43
5.6.60.0030.08320.40
5.6.50.0030.08020.32
5.6.40.0070.07320.31
5.6.30.0130.07320.32
5.6.20.0130.07320.38
5.6.10.0070.08320.30
5.6.00.0130.04720.44
5.5.370.0130.07720.42
5.5.360.0170.07020.34
5.5.350.0130.07720.42
5.5.340.0200.07320.91
5.5.330.0100.08720.89
5.5.320.0130.06720.64
5.5.310.0070.06720.89
5.5.300.0100.08020.92
5.5.290.0100.05020.89
5.5.280.0030.08720.74
5.5.270.0070.08020.76
5.5.260.0030.05720.91
5.5.250.0070.06720.56
5.5.240.0000.08020.25
5.5.230.0000.07720.30
5.5.220.0100.08020.10
5.5.210.0130.07020.30
5.5.200.0100.08020.27
5.5.190.0130.06720.18
5.5.180.0130.05019.99
5.5.160.0030.04719.99
5.5.150.0070.07720.19
5.5.140.0070.07320.21
5.5.130.0100.06720.10
5.5.120.0000.08020.18
5.5.110.0070.06320.16
5.5.100.0070.07320.13
5.5.90.0230.06020.11
5.5.80.0130.07720.07
5.5.70.0000.06320.00
5.5.60.0100.07720.13
5.5.50.0030.07720.15
5.5.40.0130.06320.15
5.5.30.0000.05320.14
5.5.20.0000.08320.05
5.5.10.0070.07720.10
5.5.00.0070.07020.11
5.4.450.0070.08319.45
5.4.440.0070.05019.37
5.4.430.0130.03319.22
5.4.420.0030.06719.32
5.4.410.0130.06719.32
5.4.400.0100.06318.85
5.4.390.0130.05319.04
5.4.380.0270.05319.03
5.4.370.0130.06319.20
5.4.360.0200.04319.03
5.4.350.0070.07019.16
5.4.340.0070.05319.16
5.4.320.0000.08018.85
5.4.310.0070.04018.84
5.4.300.0070.04318.84
5.4.290.0000.04719.23
5.4.280.0200.04318.94
5.4.270.0100.05719.12
5.4.260.0200.06319.04
5.4.250.0070.07319.02
5.4.240.0170.06719.04
5.4.230.0270.06318.95
5.4.220.0170.06719.02
5.4.210.0100.07319.02
5.4.200.0100.07319.02
5.4.190.0030.04719.15
5.4.180.0230.06318.94
5.4.170.0170.06719.11
5.4.160.0030.05318.93
5.4.150.0070.07319.11
5.4.140.0130.07016.40
5.4.130.0030.05016.42
5.4.120.0100.06716.43
5.4.110.0070.04716.50
5.4.100.0030.07016.38
5.4.90.0030.04016.42
5.4.80.0100.06016.34
5.4.70.0030.07316.45
5.4.60.0130.06716.31
5.4.50.0070.07716.42
5.4.40.0070.07316.51
5.4.30.0100.05016.40
5.4.20.0070.04316.44
5.4.10.0070.04716.41
5.4.00.0030.03715.87
5.3.290.0030.04314.59
5.3.280.0100.03314.61
5.3.270.0030.08714.65
5.3.260.0070.07714.62
5.3.250.0100.07014.57
5.3.240.0030.07714.73
5.3.230.0070.04314.61
5.3.220.0070.07714.55
5.3.210.0070.07714.63
5.3.200.0070.04314.54
5.3.190.0130.03314.58
5.3.180.0100.07014.61
5.3.170.0130.07314.68
5.3.160.0100.07014.57
5.3.150.0100.05314.68
5.3.140.0000.06014.64
5.3.130.0170.06314.61
5.3.120.0070.07014.68
5.3.110.0070.03714.54
5.3.100.0100.06713.98
5.3.90.0070.08014.08
5.3.80.0070.06713.99
5.3.70.0130.04713.93
5.3.60.0130.06313.90
5.3.50.0070.06014.00
5.3.40.0100.04013.84
5.3.30.0030.04013.80
5.3.20.0070.04713.78
5.3.10.0000.05013.75
5.3.00.0030.03713.51
5.2.170.0100.06011.98
5.2.160.0030.06311.98
5.2.150.0030.06011.98
5.2.140.0070.04311.98
5.2.130.0000.03311.98
5.2.120.0000.03011.98
5.2.110.0030.03011.98
5.2.100.0030.05011.98
5.2.90.0000.03311.98
5.2.80.0030.03711.98
5.2.70.0000.03311.98
5.2.60.0000.05011.98
5.2.50.0030.06011.98
5.2.40.0030.06311.98
5.2.30.0000.06311.98
5.2.20.0070.06011.98
5.2.10.0070.05011.98
5.2.00.0070.05011.98
5.1.60.0000.04011.98
5.1.50.0100.05011.98
5.1.40.0070.05011.98
5.1.30.0130.04311.98
5.1.20.0000.05311.98
5.1.10.0000.05711.98
5.1.00.0030.05711.98
5.0.50.0070.04311.98
5.0.40.0070.03311.98
5.0.30.0000.07011.98
5.0.20.0000.04011.98
5.0.10.0000.04311.98
5.0.00.0070.06311.98
4.4.90.0030.01311.98
4.4.80.0030.02011.98
4.4.70.0070.02311.98
4.4.60.0070.03011.98
4.4.50.0000.03711.98
4.4.40.0070.05011.98
4.4.30.0030.03311.98
4.4.20.0100.02011.98
4.4.10.0030.03311.98
4.4.00.0000.05311.98
4.3.110.0100.03011.98
4.3.100.0100.02711.98
4.3.90.0070.03011.98
4.3.80.0030.05311.98
4.3.70.0000.03011.98
4.3.60.0030.03011.98
4.3.50.0100.03011.98
4.3.40.0070.04711.98
4.3.30.0070.03011.98
4.3.20.0000.03311.98
4.3.10.0000.03011.98
4.3.00.0030.03311.98