3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo 'acgvsdf' , "zdasd\n" , (2*1.4);

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.0090.00319.22
7.1.100.0040.00817.76
7.1.70.0000.00816.83
7.1.60.0090.01319.82
7.1.50.0030.01716.98
7.1.00.0000.03722.35
7.0.200.0030.00316.79
7.0.140.0000.07022.23
7.0.60.0030.04319.90
7.0.50.0030.07717.90
7.0.40.0170.08320.07
7.0.30.0370.05320.18
7.0.20.0330.05320.30
7.0.10.0100.09020.05
7.0.00.0100.04720.19
5.6.280.0030.06721.04
5.6.210.0070.05020.54
5.6.200.0170.07718.19
5.6.190.0200.07020.56
5.6.180.0270.07720.64
5.6.170.0230.05720.41
5.6.160.0070.05320.46
5.6.150.0170.07718.13
5.6.140.0030.06718.07
5.6.130.0100.03318.12
5.6.120.0030.04021.13
5.6.110.0100.07321.11
5.6.100.0100.08320.95
5.6.90.0100.06021.11
5.6.80.0130.07720.27
5.5.350.0330.07320.39
5.5.340.0030.05717.96
5.5.330.0170.03020.23
5.5.320.0170.04320.13
5.5.310.0170.04320.50
5.5.300.0070.07017.95
5.5.290.0000.06717.98
5.5.280.0230.06720.98
5.5.270.0170.07320.86
5.5.260.0070.08720.78
5.5.250.0100.07020.45
5.5.240.0070.04020.18
5.4.450.0800.05719.47
5.4.440.0100.05319.53
5.4.430.0030.06019.31
5.4.420.0070.05719.48
5.4.410.0100.05718.94
5.4.400.0200.04718.51
5.4.390.0070.05718.50
5.4.380.0070.06018.59
5.4.370.0170.04718.48
5.4.360.0170.05718.70
5.4.350.0100.04011.97
5.4.340.0090.04511.97
5.4.320.0070.04412.45
5.4.310.0050.04712.45
5.4.300.0050.03612.45
5.4.290.0080.03512.45
5.4.280.0050.03912.34
5.4.270.0070.03412.34
5.4.260.0080.03512.35
5.4.250.0100.05018.85
5.4.240.0100.05318.84
5.4.230.0070.05318.79
5.4.220.0170.05018.69
5.4.210.0070.07718.79
5.4.200.0070.05018.88
5.4.190.0070.07718.88
5.4.180.0100.06318.84
5.4.170.0100.05318.88
5.4.160.0000.06018.73
5.4.150.0130.04718.81
5.4.140.0100.04716.26
5.4.130.0070.04716.48
5.4.120.0100.04716.23
5.4.110.0000.06016.34
5.4.100.0070.05016.16
5.4.90.0070.05316.30
5.4.80.0100.04716.16
5.4.70.0100.05016.35
5.4.60.0000.07716.12
5.4.50.0070.05716.27
5.4.40.0230.03716.40
5.4.30.0070.05016.31
5.4.20.0100.05716.17
5.4.10.0070.05316.26
5.4.00.0100.04715.69
5.3.290.0090.03512.80
5.3.280.0000.05714.73
5.3.270.0000.06014.38
5.3.260.0030.05714.49
5.3.250.0130.04714.51
5.3.240.0070.07014.59
5.3.230.0170.04314.61
5.3.220.0070.07014.41
5.3.210.0100.05014.44
5.3.200.0070.05014.61
5.3.190.0100.05314.45
5.3.180.0100.07014.55
5.3.170.0000.05714.33
5.3.160.0100.07014.43
5.3.150.0170.07314.57
5.3.140.0030.05714.64
5.3.130.0070.08014.41
5.3.120.0100.06314.60
5.3.110.0100.06714.55
5.3.100.0030.07714.05
5.3.90.0170.05014.03
5.3.80.0170.06314.00
5.3.70.0130.06314.03
5.3.60.0030.05313.91
5.3.50.0070.06713.88
5.3.40.0100.05713.90
5.3.30.0170.05713.75
5.3.20.0100.04713.80
5.3.10.0070.07313.73
5.3.00.0070.05313.64
5.2.170.0070.06011.15
5.2.160.0000.04711.14
5.2.150.0200.04311.16
5.2.140.0000.05011.15
5.2.130.0000.05311.01
5.2.120.0000.06010.87
5.2.110.0100.04711.11
5.2.100.0100.04711.09
5.2.90.0030.04711.24
5.2.80.0030.04311.09
5.2.70.0100.04711.10
5.2.60.0130.05710.98
5.2.50.0100.04310.77
5.2.40.0030.05010.93
5.2.30.0000.06010.72
5.2.20.0070.04710.96
5.2.10.0030.04311.03
5.2.00.0030.04710.71
5.1.60.0000.0439.91
5.1.50.0030.0479.96
5.1.40.0070.04710.12
5.1.30.0070.04010.50
5.1.20.0100.04010.30
5.1.10.0070.04310.04
5.1.00.0170.04310.12
5.0.50.0070.0308.69
5.0.40.0000.0408.35
5.0.30.0130.0408.20
5.0.20.0070.0378.22
5.0.10.0070.0308.26
5.0.00.0070.0377.98
4.4.90.0100.0206.55
4.4.80.0000.0306.55
4.4.70.0070.0276.55
4.4.60.0100.0136.55
4.4.50.0030.0306.55
4.4.40.0070.0406.55
4.4.30.0000.0276.55
4.4.20.0070.0206.55
4.4.10.0000.0236.55
4.4.00.0030.0436.54
4.3.110.0000.0276.49
4.3.100.0030.0206.45
4.3.90.0000.0236.43
4.3.80.0070.0276.36
4.3.70.0030.0306.35
4.3.60.0070.0176.32
4.3.50.0000.0236.32
4.3.40.0000.0336.29
4.3.30.0000.0236.28
4.3.20.0100.0206.27
4.3.10.0030.0236.25
4.3.00.0100.0236.89