3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo file_get_contents("http://baidu.com");

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).
Note: hhvm uses a JIT which only kicks in after a few runs. Since we run scripts only once, hhvm always runs slower.

VersionSystem time (s)User time (s)Memory (MiB)
7.2.60.0000.00816.82
7.2.00.0070.00719.58
7.1.200.0000.01115.90
7.1.100.0040.01418.19
7.1.70.0130.00017.26
7.1.60.0090.01619.40
7.1.50.0030.02217.10
7.1.00.0070.07322.84
7.0.200.0050.00317.10
7.0.140.0030.07322.51
7.0.60.0070.03720.30
7.0.50.0030.04018.20
7.0.40.0000.04318.05
7.0.30.0030.04018.12
7.0.20.0070.03718.08
7.0.10.0030.04018.13
7.0.00.0070.04718.03
5.6.280.0100.06721.19
5.6.210.0100.07321.19
5.6.200.0100.03318.44
5.6.190.0030.04018.57
5.6.180.0070.03718.48
5.6.170.0100.03318.66
5.6.160.0070.08018.48
5.6.150.0030.08718.57
5.6.140.0030.08718.56
5.6.130.0030.05718.54
5.6.120.0070.04018.48
5.6.110.0100.08318.44
5.6.100.0100.07318.38
5.6.90.0030.09018.46
5.6.80.0100.06317.86
5.6.70.0070.08017.86
5.6.60.0100.07717.81
5.6.50.0100.07717.89
5.6.40.0130.07317.96
5.6.30.0170.07317.93
5.6.20.0200.06317.91
5.6.10.0030.06317.83
5.6.00.0100.03318.00
5.5.350.4230.04020.65
5.5.340.0070.03318.36
5.5.330.0070.04018.34
5.5.320.0030.04018.32
5.5.310.0030.05318.37
5.5.300.0070.07318.37
5.5.290.0030.04318.41
5.5.280.0070.04718.19
5.5.270.0000.06718.24
5.5.260.0130.03718.30
5.5.250.0030.08318.17
5.5.240.0070.06317.75
5.5.230.0100.07317.83
5.5.220.0030.08317.66
5.5.210.0100.05017.96
5.5.200.0100.04717.72
5.5.190.0170.06717.71
5.5.180.0170.04317.73
5.5.160.0030.08317.81
5.5.150.0030.04717.61
5.5.140.0070.06717.70
5.5.130.0070.07317.71
5.5.120.0000.05017.75
5.5.110.0030.06017.80
5.5.100.0030.04017.53
5.5.90.0100.07017.78
5.5.80.0170.06717.59
5.5.70.0030.04017.64
5.5.60.0070.04317.53
5.5.50.0100.04017.43
5.5.40.0100.03317.64
5.5.30.0100.05717.61
5.5.20.0070.05717.43
5.5.10.0130.07017.47
5.5.00.0070.07717.51
5.4.450.0170.05019.76
5.4.440.0100.07719.73
5.4.430.0070.07719.67
5.4.420.0170.07319.67
5.4.410.0000.05719.79
5.4.400.0070.04719.60
5.4.390.0070.07019.35
5.4.380.0070.07719.35
5.4.370.0000.04319.38
5.4.360.0000.04319.38
5.4.350.0100.06719.37
5.4.340.0100.07319.37
5.4.320.0000.06019.40
5.4.310.0070.07019.59
5.4.300.0070.08019.36
5.4.290.0130.07319.27
5.4.280.0070.07719.33
5.4.270.0130.07319.35
5.4.260.0100.04319.59
5.4.250.0030.04019.32
5.4.240.0130.03319.35
5.4.230.0100.07019.37
5.4.220.0100.05019.30
5.4.210.0030.04719.37
5.4.200.0130.05319.28
5.4.190.0100.04719.32
5.4.180.0000.05019.36
5.4.170.0070.08019.36
5.4.160.0100.05319.50
5.4.150.0030.04719.57
5.4.140.0070.03716.95
5.4.130.0000.04716.72
5.4.120.0070.04716.75
5.4.110.0030.04716.88
5.4.100.0030.07716.75
5.4.90.0100.07016.89
5.4.80.0000.08716.73
5.4.70.0100.07316.71
5.4.60.0030.08016.71
5.4.50.0130.06016.70
5.4.40.0030.04716.68
5.4.30.0100.05016.72
5.4.20.0070.05716.70
5.4.10.0030.04016.96
5.4.00.0000.05716.18
5.3.290.0030.04014.91
5.3.280.0000.07314.82
5.3.270.0100.05314.66
5.3.260.0030.05314.76
5.3.250.0000.04314.82
5.3.240.0030.04014.81
5.3.230.0030.06714.86
5.3.220.0100.07014.79
5.3.210.0070.04014.80
5.3.200.0000.08014.80
5.3.190.0100.07014.84
5.3.180.0030.08314.81
5.3.170.0100.05014.75
5.3.160.0030.07714.70
5.3.150.0130.05714.79
5.3.140.0100.07314.79
5.3.130.0070.07014.79
5.3.120.0100.04714.69
5.3.110.0070.05014.79
5.3.100.0130.05314.08
5.3.90.0030.04714.27
5.3.80.0030.05014.16
5.3.70.0030.03714.43
5.3.60.0000.04314.23
5.3.50.0030.03714.36
5.3.40.0070.04314.18
5.3.30.0100.07014.18
5.3.20.0000.05314.10
5.3.10.0130.05013.89
5.3.00.0070.06713.87
5.2.170.0070.06011.38
5.2.160.0000.03711.19
5.2.150.0030.04711.29
5.2.140.0100.05011.38
5.2.130.0070.05711.26
5.2.120.0000.04011.51
5.2.110.0030.04011.50
5.2.100.0170.04311.25
5.2.90.0030.05711.27
5.2.80.0070.03311.21
5.2.70.0100.05711.25
5.2.60.0030.06311.46
5.2.50.0030.05011.06
5.2.40.0070.04011.23
5.2.30.0000.04011.18
5.2.20.0030.04011.18
5.2.10.0100.05311.02
5.2.00.0030.05010.93
5.1.60.0130.02010.05
5.1.50.0130.04310.07
5.1.40.0030.04010.24
5.1.30.0100.05310.54
5.1.20.0000.03010.58
5.1.10.0000.04710.32
5.1.00.0070.05710.38
5.0.50.0030.0408.67
5.0.40.0030.0478.68
5.0.30.0030.0678.29
5.0.20.0000.0478.41
5.0.10.0000.0438.17
5.0.00.0030.0678.30
4.4.90.0000.0378.08
4.4.80.0070.0338.08
4.4.70.0000.0408.08
4.4.60.0070.0378.08
4.4.50.0030.0308.08
4.4.40.0070.0538.08
4.4.30.0070.0308.08
4.4.20.0000.0208.08
4.4.10.0000.0238.08
4.4.00.0030.0438.08
4.3.110.0070.0278.08
4.3.100.0000.0378.08
4.3.90.0030.0338.08
4.3.80.0100.0478.08
4.3.70.0000.0278.08
4.3.60.0030.0278.08
4.3.50.0070.0278.08
4.3.40.0000.0538.08
4.3.30.0030.0308.08
4.3.20.0030.0378.08
4.3.10.0030.0378.08
4.3.00.0030.0338.08