3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = 3; var_dump($b=$a);

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.00.0100.00719.23
7.1.200.0070.00715.83
7.1.100.0050.00918.10
7.1.70.0030.00517.16
7.1.60.0070.01719.46
7.1.50.0040.00816.95
7.1.00.0030.09022.30
7.0.200.0000.00916.57
7.0.140.0000.06322.08
7.0.60.0070.08019.85
7.0.50.0030.04017.88
7.0.40.0030.04320.30
7.0.30.0300.08020.20
7.0.20.0230.05020.04
7.0.10.0100.07020.09
7.0.00.0070.06320.03
5.6.280.0070.07021.06
5.6.210.0130.07320.54
5.6.200.0030.06718.08
5.6.190.0030.09020.35
5.6.180.4200.04720.43
5.6.170.0370.07020.71
5.6.160.0100.08020.33
5.6.150.0070.04018.11
5.6.140.0030.04318.22
5.6.130.0030.04018.14
5.6.120.0070.07321.11
5.6.110.0030.08720.98
5.6.100.0070.03721.00
5.6.90.0130.05020.99
5.6.80.0170.07020.39
5.6.70.4030.03720.38
5.5.350.0230.07320.38
5.5.340.0070.04017.97
5.5.330.0070.08720.14
5.5.320.3200.03020.29
5.5.310.0300.05320.34
5.5.300.0070.08317.92
5.5.290.0030.08717.96
5.5.280.0030.04020.76
5.5.270.0230.04020.83
5.5.260.0100.06720.72
5.5.250.0000.08720.65
5.5.240.0230.08020.28
5.4.450.0170.05319.33
5.4.440.0470.06019.47
5.4.430.0130.06019.29
5.4.420.0130.05319.30
5.4.410.0100.05319.21
5.4.400.0100.05719.33
5.4.390.0100.05718.62
5.4.380.0130.08018.54
5.4.370.0170.07318.55
5.4.360.0130.05318.70
5.4.350.0230.04718.55
5.4.340.0230.04718.48
5.4.320.0170.07718.55
5.4.310.0100.05718.71
5.4.300.0200.05018.65
5.4.290.0130.05718.46
5.4.280.0270.04018.61
5.4.270.0070.06018.61
5.4.260.0200.04718.54
5.4.250.0230.05318.73
5.4.240.0170.05318.55
5.4.230.0170.05718.54
5.4.220.0130.05718.70
5.4.210.0170.05318.45
5.4.200.0330.05316.55
5.4.190.0200.05018.74
5.4.180.0070.06018.75
5.4.170.0270.06018.56
5.4.160.0230.06318.66
5.4.150.0200.06018.69
5.4.140.0200.06716.21
5.4.130.0300.05716.12
5.4.120.0170.06716.22
5.4.110.0230.04716.20
5.4.100.0170.05716.34
5.4.90.0070.06016.06
5.4.80.0170.05016.27
5.4.70.0100.05716.15
5.4.60.0130.05316.21
5.4.50.0130.05016.13
5.4.40.0070.06716.18
5.4.30.0230.04716.22
5.4.20.0200.04716.33
5.4.10.0170.04716.03
5.4.00.0130.05015.71
5.3.290.0200.05014.63
5.3.280.0130.05714.64
5.3.270.0230.05714.53
5.3.260.0170.05314.52
5.3.250.0200.05014.65
5.3.240.0130.05714.53
5.3.230.0070.06014.53
5.3.220.0300.05714.55
5.3.210.0170.06314.65
5.3.200.0200.04714.66
5.3.190.0230.04314.51
5.3.180.0300.03714.55
5.3.170.0200.04714.49
5.3.160.0170.05714.66
5.3.150.0200.05314.51
5.3.140.0130.05314.64
5.3.130.0270.04314.63
5.3.120.0130.05714.63
5.3.110.0300.04314.47
5.3.100.0200.06713.96
5.3.90.0070.06014.11
5.3.80.0170.05013.93
5.3.70.0130.06313.91
5.3.60.0130.05314.00
5.3.50.0200.04313.93
5.3.40.0200.04714.01
5.3.30.0170.07013.87
5.3.20.0170.04713.68
5.3.10.0170.04713.57
5.3.00.0200.04313.61
5.2.170.0070.04711.09
5.2.160.0100.04011.20
5.2.150.0070.05311.17
5.2.140.0170.04011.17
5.2.130.0170.03711.13
5.2.120.0100.04311.06
5.2.110.0200.03311.15
5.2.100.0170.03311.16
5.2.90.0100.04311.08
5.2.80.0070.04711.00
5.2.70.0170.05311.13
5.2.60.0200.05011.09
5.2.50.0130.04010.99
5.2.40.0130.05010.93
5.2.30.0130.05310.93
5.2.20.0070.05710.99
5.2.10.0130.03710.97
5.2.00.0100.04310.80
5.1.60.0130.03310.11
5.1.50.0100.03310.08
5.1.40.0070.05010.03
5.1.30.0170.04310.43
5.1.20.0130.04010.48
5.1.10.0070.04010.08
5.1.00.0170.03010.10
5.0.50.0100.0278.66
5.0.40.0070.0278.54
5.0.30.0170.0478.25
5.0.20.0100.0238.17
5.0.10.0100.0238.20
5.0.00.0030.0478.17
4.4.90.0070.0275.86
4.4.80.0070.0275.89
4.4.70.0000.0275.80
4.4.60.0100.0175.86
4.4.50.0070.0235.88
4.4.40.0000.0405.81
4.4.30.0100.0175.91
4.4.20.0030.0235.95
4.4.10.0130.0135.96
4.4.00.0100.0305.95
4.3.110.0070.0205.84
4.3.100.0030.0235.80
4.3.90.0000.0275.89
4.3.80.0070.0335.79
4.3.70.0070.0205.78
4.3.60.0000.0275.88
4.3.50.0070.0205.77
4.3.40.0100.0305.73
4.3.30.0100.0174.98
4.3.20.0130.0134.98
4.3.10.0100.0134.98
4.3.00.0000.02712.55