3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo (intval(''));

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.10.0110.00016.69
7.3.00.0030.01016.63
7.2.130.0030.00916.69
7.2.120.0060.00616.49
7.2.110.0060.00616.78
7.2.100.0090.00316.48
7.2.90.0070.00716.45
7.2.80.0040.01116.81
7.2.70.0070.00716.86
7.2.60.0030.01016.80
7.2.50.0000.01216.86
7.2.40.0030.00716.78
7.2.30.0080.00416.64
7.2.20.0120.00316.57
7.2.10.0110.00316.87
7.2.00.0100.00718.06
7.1.250.0110.00415.54
7.1.200.0030.01115.30
7.1.100.0030.01217.86
7.1.70.0030.00517.11
7.1.60.0140.00319.46
7.1.50.0070.01416.78
7.1.00.0100.07022.36
7.0.200.0070.00416.49
7.0.140.0070.07021.95
7.0.60.0130.06019.88
7.0.50.0100.06317.79
7.0.40.0030.07320.05
7.0.30.0330.07020.18
7.0.20.0270.05020.31
7.0.10.0100.03720.21
7.0.00.0070.07020.08
5.6.280.0070.06721.03
5.6.210.0030.04720.54
5.6.200.0030.08318.21
5.6.190.0100.06020.46
5.6.180.0100.06320.56
5.6.170.0370.07720.42
5.6.160.0100.08320.38
5.6.150.0000.05018.14
5.6.140.0130.07318.20
5.6.130.0000.09018.11
5.6.120.0000.08021.02
5.6.110.0070.08320.95
5.6.100.0100.08721.10
5.6.90.0100.08321.11
5.6.80.0070.08320.41
5.5.350.4170.04020.38
5.5.340.0130.07017.95
5.5.330.0030.05320.43
5.5.320.0330.06020.34
5.5.310.0430.06020.29
5.5.300.0030.04717.88
5.5.290.0070.08318.01
5.5.280.0170.07020.76
5.5.270.0100.06020.83
5.5.260.0070.08320.85
5.5.250.0130.06020.52
5.5.240.0130.07320.03
5.4.450.1130.04019.42
5.4.440.0400.04319.57
5.4.430.0570.04351.50
5.4.420.0330.04319.25
5.4.410.0270.04744.47
5.4.400.0230.03041.72
5.4.390.0230.04739.34
5.4.380.0430.05718.68
5.4.370.0330.05018.67
5.4.360.0430.05018.70
5.4.350.0370.06018.59
5.4.340.0270.06318.77
5.4.320.0030.04012.45
5.4.310.0090.03412.45
5.4.300.0090.04912.45
5.4.290.0150.04812.45
5.4.280.0070.05412.35
5.4.270.0100.05112.35
5.4.260.0060.06112.35
5.4.250.0070.06412.35
5.4.240.0060.06112.35
5.4.230.0110.05212.34
5.4.220.0130.06412.34
5.4.210.0130.05012.34
5.4.200.0060.05012.34
5.4.190.0090.04812.34
5.4.180.0060.05912.33
5.4.170.0080.05612.35
5.4.160.0070.04812.34
5.4.150.0100.06012.34
5.4.140.0150.06712.02
5.4.130.0090.04412.01
5.4.120.0080.05111.96
5.4.110.0080.05111.96
5.4.100.0070.04511.96
5.4.90.0020.04811.96
5.4.80.0110.05111.96
5.4.70.0100.06411.96
5.4.60.0130.09311.96
5.4.50.0050.05211.96
5.4.40.0070.04911.95
5.4.30.0110.04611.95
5.4.20.0060.04811.95
5.4.10.0090.03611.95
5.4.00.0070.04011.43
5.3.290.0070.04412.80
5.3.280.0100.03912.71
5.3.270.0110.04612.73
5.3.260.0060.04012.72
5.3.250.0090.03812.71
5.3.240.0060.04512.72
5.3.230.0110.04212.71
5.3.220.0100.05012.68
5.3.210.0160.04412.68
5.3.200.0080.05512.68
5.3.190.0050.04312.68
5.3.180.0050.04212.67
5.3.170.0070.03812.66
5.3.160.0110.04212.68
5.3.150.0070.05112.68
5.3.140.0090.04612.66
5.3.130.0090.03612.66
5.3.120.0070.04312.66
5.3.110.0050.05212.66
5.3.100.0100.04612.12
5.3.90.0090.04412.09
5.3.80.0100.04212.08
5.3.70.0110.05512.08
5.3.60.0350.12212.07
5.3.50.0090.04812.00
5.3.40.0090.05612.00
5.3.30.0140.06811.94
5.3.20.0110.05611.72
5.3.10.0070.05511.68
5.3.00.0110.05411.67
5.2.170.0090.0489.18
5.2.160.0090.0479.17
5.2.150.0090.0449.18
5.2.140.0050.0519.17
5.2.130.0110.0479.13
5.2.120.0090.0489.13
5.2.110.0080.0529.14
5.2.100.0090.0479.14
5.2.90.0100.0439.14
5.2.80.0060.0439.13
5.2.70.0100.0399.13
5.2.60.0040.0459.09
5.2.50.0040.0459.05
5.2.40.0080.0379.03
5.2.30.0070.0429.00
5.2.20.0070.0398.99
5.2.10.0030.0348.93
5.2.00.0100.0388.79
5.1.60.0070.0338.07
5.1.50.0070.0328.07
5.1.40.0050.0358.05
5.1.30.0080.0358.41
5.1.20.0040.0408.42
5.1.10.0070.0288.15
5.1.00.0070.0298.14
5.0.50.0080.0186.63
5.0.40.0040.0206.49
5.0.30.0060.0296.30
5.0.20.0030.0206.26
5.0.10.0040.0196.24
5.0.00.0040.0316.24
4.4.90.0050.0144.78
4.4.80.0040.0144.76
4.4.70.0020.0244.76
4.4.60.0010.0244.76
4.4.50.0040.0214.77
4.4.40.0030.0354.71
4.4.30.0040.0214.76
4.4.20.0060.0204.84
4.4.10.0040.0234.85
4.4.00.0030.0334.76
4.3.110.0040.0224.67
4.3.100.0020.0234.66
4.3.90.0030.0214.63
4.3.80.0040.0324.59
4.3.70.0030.0224.63
4.3.60.0040.0204.63
4.3.50.0050.0214.62
4.3.40.0060.0214.54
4.3.30.0020.0163.29
4.3.20.0030.0213.27
4.3.10.0020.0223.22
4.3.00.0100.01038.20