3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php print_r("smurf!");

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.0100.00316.73
7.2.00.0040.00819.21
7.1.200.0060.00915.42
7.1.100.0040.00418.08
7.1.70.0000.00717.07
7.1.60.0100.01019.50
7.1.50.0130.01016.88
7.1.00.0030.07722.28
7.0.200.0030.00616.37
7.0.60.0030.07319.93
7.0.50.0170.04317.88
7.0.40.0130.08019.98
7.0.30.0270.06320.01
7.0.20.0270.08020.16
7.0.10.0100.06020.30
7.0.00.0000.05020.01
5.6.280.0030.07320.99
5.6.210.0230.05720.70
5.6.200.0170.06718.16
5.6.190.0030.06720.60
5.6.180.0270.08020.77
5.6.170.0200.07020.61
5.6.160.0000.04720.70
5.6.150.0070.05018.16
5.6.140.0100.03318.21
5.6.130.0100.04718.11
5.6.120.0030.08021.02
5.6.110.0000.09320.95
5.6.100.0070.07021.01
5.6.90.0200.05320.96
5.6.80.0070.08020.43
5.6.70.3900.03320.37
5.5.350.0330.06020.31
5.5.340.0170.07017.95
5.5.330.0070.03720.36
5.5.320.0030.08720.19
5.5.310.0230.03720.33
5.5.300.0100.07717.98
5.5.290.0070.08017.98
5.5.280.0030.06320.88
5.5.270.0070.06320.66
5.5.260.0030.04320.86
5.5.250.0030.08320.70
5.5.240.0300.07020.03
5.4.450.0030.05019.39
5.4.440.0070.06319.21
5.4.430.0030.07319.40
5.4.420.0030.06019.43
5.4.410.0030.04019.27
5.4.400.0070.06719.07
5.4.390.0030.05718.91
5.4.380.0070.05018.79
5.4.370.0000.05019.25
5.4.360.0070.07319.13
5.4.350.0030.04319.06
5.4.340.0000.05318.80
5.4.320.0030.08019.10
5.4.310.0000.06019.08
5.4.300.0030.03719.08
5.4.290.0000.03718.88
5.4.280.0030.03718.93
5.4.270.0070.05319.16
5.4.260.0070.05019.05
5.4.250.0100.03318.78
5.4.240.0070.05018.91
5.4.230.0030.05719.21
5.4.220.0070.04018.92
5.4.210.0070.06718.80
5.4.200.0000.06019.23
5.4.190.0030.04718.78
5.4.180.0030.04319.24
5.4.170.0000.05019.24
5.4.160.0070.05319.07
5.4.150.0000.05318.89
5.4.140.0130.06016.29
5.4.130.0000.07716.54
5.4.120.0100.06316.37
5.4.110.0030.05716.34
5.4.100.0030.07716.44
5.4.90.0070.05016.48
5.4.80.0000.04716.41
5.4.70.0070.06016.32
5.4.60.0030.04716.40
5.4.50.0100.03016.36
5.4.40.0030.05016.45
5.4.30.0100.06316.17
5.4.20.0070.05316.03
5.4.10.0030.05316.03
5.4.00.0030.07315.99
5.3.290.0070.04314.75
5.3.280.0030.07714.54
5.3.270.0070.04714.44
5.3.260.0000.05014.69
5.3.250.0030.07714.46
5.3.240.0030.07714.44
5.3.230.0030.07314.42
5.3.220.0030.05014.54
5.3.210.0030.07714.40
5.3.200.0030.05014.40
5.3.190.0070.07714.61
5.3.180.0100.07014.46
5.3.170.0030.06714.50
5.3.160.0030.06714.46
5.3.150.0000.05314.65
5.3.140.0000.04014.41
5.3.130.0000.06714.49
5.3.120.0000.05314.49
5.3.110.0030.05014.42
5.3.100.0030.06013.89
5.3.90.0030.06714.11
5.3.80.0000.07714.04
5.3.70.0030.06313.88
5.3.60.0100.04713.95
5.3.50.0000.04313.77
5.3.40.0000.05013.71
5.3.30.0100.06313.84
5.3.20.0170.03713.78
5.3.10.0000.07713.74
5.3.00.0070.05013.58
5.2.170.0100.04711.87
5.2.160.0030.05011.87
5.2.150.0030.03311.87
5.2.140.0000.04011.87
5.2.130.0000.03011.87
5.2.120.0070.05011.87
5.2.110.0030.05011.87
5.2.100.0030.05711.87
5.2.90.0030.05711.87
5.2.80.0000.05311.87
5.2.70.0000.06311.87
5.2.60.0030.05311.87
5.2.50.0070.05311.87
5.2.40.0100.05711.87
5.2.30.0000.06011.87
5.2.20.0070.05711.87
5.2.10.0130.05011.87
5.2.00.0070.05711.87
5.1.60.0070.03711.87
5.1.50.0030.05011.87
5.1.40.0030.04011.87
5.1.30.0070.04011.87
5.1.20.0070.04311.87
5.1.10.0070.05311.87
5.1.00.0030.05011.87
5.0.50.0030.04711.87
5.0.40.0000.04711.87
5.0.30.0070.06011.87
5.0.20.0030.04011.87
5.0.10.0070.03711.87
5.0.00.0030.06311.87
4.4.90.0130.02311.87
4.4.80.0000.02711.87
4.4.70.0030.03311.87
4.4.60.0030.03011.87
4.4.50.0030.01711.87
4.4.40.0100.03011.87
4.4.30.0070.03311.87
4.4.20.0030.03711.87
4.4.10.0000.02711.87
4.4.00.0000.04311.87
4.3.110.0000.02311.87
4.3.100.0000.02311.87
4.3.90.0000.03711.87
4.3.80.0000.04311.87
4.3.70.0000.02311.87
4.3.60.0030.02011.87
4.3.50.0100.03011.87
4.3.40.0070.03311.87
4.3.30.0000.02311.87
4.3.20.0000.01711.87
4.3.10.0000.02711.87
4.3.00.0000.01711.87