3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $amIThere = false; $amIHere = true; if($amIThere && $amIHere) { echo $me; }

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.0070.00816.34
7.3.00.0060.00916.04
7.2.130.0070.01016.47
7.2.120.0120.00816.37
7.2.110.0110.00416.56
7.2.100.0070.01016.40
7.2.90.0100.00916.96
7.2.80.0110.00716.45
7.2.70.0130.00616.52
7.2.60.0110.01216.84
7.2.50.0100.00816.60
7.2.40.0120.00716.35
7.2.30.0070.01416.59
7.2.20.0080.00616.53
7.2.10.0100.00516.36
7.2.00.0100.00617.58
7.1.250.0090.00715.63
7.1.100.0000.01117.99
7.1.70.0000.01017.16
7.1.60.0100.01419.70
7.1.50.0130.00616.70
7.1.00.0030.07722.36
7.0.200.0490.00314.69
7.0.140.0000.07722.07
7.0.60.0130.07719.93
7.0.50.0070.04717.88
7.0.40.0070.08720.02
7.0.30.0400.06320.13
7.0.20.0300.08020.16
7.0.10.0030.05020.00
7.0.00.0100.06020.33
5.6.280.0200.05721.09
5.6.210.0100.07720.60
5.6.200.0030.04018.10
5.6.190.0130.07320.35
5.6.180.4330.05320.67
5.6.170.0270.07020.51
5.6.160.0030.08320.38
5.6.150.0030.08018.14
5.6.140.0100.07018.21
5.6.130.0070.08018.21
5.6.120.0170.06721.11
5.6.110.0070.07721.11
5.6.100.0070.07021.03
5.6.90.0070.06721.10
5.6.80.0100.07020.37
5.6.70.3030.03320.36
5.5.350.0200.08320.51
5.5.340.0070.04718.02
5.5.330.0070.06720.21
5.5.320.3300.04720.32
5.5.310.0200.06720.30
5.5.300.0100.06718.01
5.5.290.0100.08017.95
5.5.280.0000.05320.75
5.5.270.0200.03320.76
5.5.260.0270.06320.83
5.5.250.0100.07720.65
5.5.240.0200.07720.05
5.4.450.0400.02728.29
5.4.440.0230.04328.29
5.4.430.0530.04328.29
5.4.420.0270.03728.29
5.4.410.0270.04028.29
5.4.400.0200.04328.28
5.4.390.0270.04028.28
5.4.380.0130.05718.57
5.4.370.0170.05018.61
5.4.360.0200.04718.45
5.4.350.0170.05318.56
5.4.340.0170.05018.48
5.4.320.0050.03612.45
5.4.310.0090.03912.45
5.4.300.0090.03912.45
5.4.290.0060.04212.45
5.4.280.0080.03712.34
5.4.270.0110.04812.34
5.4.260.0130.04412.34
5.4.250.0100.04512.35
5.4.240.0050.03912.34
5.4.230.0060.04112.34
5.4.220.0100.04412.34
5.4.210.0090.03412.34
5.4.200.0100.04312.34
5.4.190.0060.03912.33
5.4.180.0170.04212.33
5.4.170.0070.05212.34
5.4.160.0030.04212.34
5.4.150.0080.03812.34
5.4.140.0070.04112.02
5.4.130.0120.04912.01
5.4.120.0080.03911.96
5.4.110.0040.04011.96
5.4.100.0040.04011.96
5.4.90.0070.03811.96
5.4.80.0060.03711.96
5.4.70.0070.03411.96
5.4.60.0050.03711.96
5.4.50.0050.03611.96
5.4.40.0050.03511.95
5.4.30.0060.03511.95
5.4.20.0060.03411.95
5.4.10.0040.03611.95
5.4.00.0090.03211.44
5.3.290.0080.03712.80
5.3.280.0070.03712.71
5.3.270.0120.03512.72
5.3.260.0080.03712.72
5.3.250.0050.03812.72
5.3.240.0050.04712.72
5.3.230.0120.03212.71
5.3.220.0070.03812.68
5.3.210.0050.04312.68
5.3.200.0050.04612.68
5.3.190.0050.03912.68
5.3.180.0080.04512.68
5.3.170.0070.04012.66
5.3.160.0070.04012.68
5.3.150.0060.04012.67
5.3.140.0080.03812.66
5.3.130.0060.04312.65
5.3.120.0040.04512.66
5.3.110.0090.04212.66
5.3.100.0060.04012.12
5.3.90.0060.03812.09
5.3.80.0060.04212.07
5.3.70.0070.03812.07
5.3.60.0070.04612.06
5.3.50.0040.04812.00
5.3.40.0070.04712.00
5.3.30.0120.04611.94
5.3.20.0050.05011.72
5.3.10.0100.04711.69
5.3.00.0060.05011.68
5.2.170.0060.0299.18
5.2.160.0040.0309.18
5.2.150.0040.0329.18
5.2.140.0050.0319.17
5.2.130.0050.0299.14
5.2.120.0050.0299.13
5.2.110.0050.0299.13
5.2.100.0060.0349.14
5.2.90.0070.0379.14
5.2.80.0100.0269.13
5.2.70.0050.0319.13
5.2.60.0040.0399.08
5.2.50.0030.0329.05
5.2.40.0060.0279.03
5.2.30.0040.0319.01
5.2.20.0020.0318.99
5.2.10.0020.0308.92
5.2.00.0050.0288.77
5.1.60.0060.0258.06
5.1.50.0050.0258.06
5.1.40.0050.0258.04
5.1.30.0030.0278.39
5.1.20.0060.0258.41
5.1.10.0050.0258.13
5.1.00.0040.0268.13
5.0.50.0040.0206.61
5.0.40.0050.0176.47
5.0.30.0030.0316.28
5.0.20.0020.0216.26
5.0.10.0050.0186.23
5.0.00.0040.0316.23
4.4.90.0040.0164.78
4.4.80.0030.0144.76
4.4.70.0040.0144.75
4.4.60.0050.0194.75
4.4.50.0040.0144.77
4.4.40.0030.0304.71
4.4.30.0040.0144.76
4.4.20.0040.0154.84
4.4.10.0030.0194.85
4.4.00.0030.0284.76
4.3.110.0020.0164.67
4.3.100.0020.0164.67
4.3.90.0030.0144.63
4.3.80.0030.0244.59
4.3.70.0020.0154.63
4.3.60.0040.0134.63
4.3.50.0010.0214.62
4.3.40.0030.0324.54
4.3.30.0020.0193.27
4.3.20.0030.0203.25
4.3.10.0010.0163.21
4.3.00.0070.01328.28