3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo "TRUE";

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.3.0rc60.0140.00016.53
7.3.0rc40.0240.01498.97
7.3.0rc30.0170.00316.43
7.3.0beta10.0070.00312.34
7.3.0alpha10.0050.00412.75
7.2.60.0070.00716.75
7.2.00.0130.01319.47
7.1.200.0000.01415.63
7.1.100.0000.01518.11
7.1.70.0030.00316.84
7.1.60.0100.01419.82
7.1.50.0030.01316.51
7.1.00.0070.07322.45
7.0.200.0100.00716.79
7.0.140.0070.07021.90
7.0.60.0030.04319.77
7.0.50.0070.05017.82
7.0.40.0130.03320.16
7.0.30.0270.08020.17
7.0.20.0170.04720.12
7.0.10.0030.09020.18
7.0.00.0000.08320.04
5.6.280.0100.06720.89
5.6.210.0070.07720.72
5.6.200.0100.07718.16
5.6.190.0130.08020.44
5.6.180.0000.05020.64
5.6.170.0300.07720.52
5.6.160.0070.05020.46
5.6.150.0100.03318.16
5.6.140.0030.08318.23
5.6.130.0100.06018.10
5.6.120.0030.07720.98
5.6.110.0070.08721.11
5.6.100.0030.06721.01
5.6.90.0170.07020.97
5.6.80.0130.06320.46
5.5.350.0030.04720.46
5.5.340.0070.04718.02
5.5.330.0070.08320.15
5.5.320.0070.07720.40
5.5.310.0330.06320.30
5.5.300.0100.07717.89
5.5.290.0070.08317.94
5.5.280.0100.07020.88
5.5.270.0000.05020.75
5.5.260.0130.06720.88
5.5.250.0030.04320.58
5.5.240.0030.07720.16
5.4.450.0330.04319.41
5.4.440.0100.03319.41
5.4.430.0330.04019.42
5.4.420.0330.04319.42
5.4.410.0070.05718.93
5.4.400.0000.06718.75
5.4.390.0200.06318.59
5.4.380.0200.05318.70
5.4.370.0200.04718.50
5.4.360.0200.06718.72
5.4.350.0030.06318.57
5.4.340.0130.05018.72
5.4.320.0080.04112.45
5.4.310.0060.04512.45
5.4.300.0070.04012.45
5.4.290.0080.04312.45
5.4.280.0040.03712.35
5.4.270.0050.04512.35
5.4.260.0060.04012.35
5.4.250.0100.03812.35
5.4.240.0050.03712.35
5.4.230.0060.03712.34
5.4.220.0070.03812.34
5.4.210.0080.03612.34
5.4.200.0080.04612.34
5.4.190.0070.04312.34
5.4.180.0110.04312.34
5.4.170.0170.04212.33
5.4.160.0170.05412.32
5.4.150.0150.04612.32
5.4.140.0190.04012.00
5.4.130.0160.04511.99
5.4.120.0160.04311.95
5.4.110.0170.04411.94
5.4.100.0170.05411.95
5.4.90.0180.05211.94
5.4.80.0160.04411.95
5.4.70.0120.04511.94
5.4.60.0160.04111.94
5.4.50.0180.03911.94
5.4.40.0160.04011.93
5.4.30.0170.04111.93
5.4.20.0230.05511.93
5.4.10.0150.04311.93
5.4.00.0130.04311.42
5.3.290.0100.03512.80
5.3.280.0040.03912.70
5.3.270.0130.04812.73
5.3.260.0180.04412.72
5.3.250.0160.04612.72
5.3.240.0180.04712.72
5.3.230.0200.04312.71
5.3.220.0170.04612.68
5.3.210.0160.05612.68
5.3.200.0190.04412.68
5.3.190.0220.05112.68
5.3.180.0180.04212.67
5.3.170.0170.04512.67
5.3.160.0160.04412.67
5.3.150.0170.04312.67
5.3.140.0180.04212.66
5.3.130.0170.04512.66
5.3.120.0250.06812.66
5.3.110.0170.04412.66
5.3.100.0150.04612.12
5.3.90.0160.05412.08
5.3.80.0170.04412.07
5.3.70.0180.05312.07
5.3.60.0160.04512.06
5.3.50.0200.05212.00
5.3.40.0150.04512.00
5.3.30.0140.04411.94
5.3.20.0160.04611.72
5.3.10.0140.04211.68
5.3.00.0160.04111.66