3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function it($m,$p){static$s;!$m&&die($s);echo"\033[3".($p?'2m✔︎':($s=1).'m✘')." It $m\033[0m\n";}register_shutdown_function('it',0,0);

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.80.0070.00716.48
7.2.00.0030.00919.13
7.1.200.0070.00415.65
7.1.100.0040.00818.03
7.1.70.0000.01216.85
7.1.60.0040.02119.70
7.1.50.0060.01616.57
7.1.00.0100.07022.46
7.0.200.0000.00916.59
7.0.140.0070.06722.19
7.0.60.0100.08019.94
7.0.50.0130.07317.96
7.0.40.0030.04320.21
7.0.30.0230.03720.24
7.0.20.0230.07020.12
7.0.10.0270.09020.06
7.0.00.0200.07320.25
5.6.280.0000.07721.10
5.6.210.0100.08320.62
5.6.200.0070.03718.20
5.6.190.0100.03720.57
5.6.180.3570.03320.46
5.6.170.0200.06020.45
5.6.160.0130.08020.55
5.6.150.0070.04018.18
5.6.140.0070.08318.23
5.6.130.0070.07718.26
5.6.120.0100.05021.04
5.6.110.0030.04720.98
5.6.100.0200.08020.98
5.6.90.0070.03720.96
5.6.80.0030.03720.51
5.6.70.0230.07720.37
5.5.350.0200.08020.39
5.5.340.0100.07717.94
5.5.330.0030.04320.37
5.5.320.0330.08720.31
5.5.310.0270.04720.24
5.5.300.0100.06318.09
5.5.290.0100.07018.08
5.5.280.0100.08020.96
5.5.270.0030.06320.89
5.5.260.0100.07320.88
5.5.250.0070.04020.69
5.5.240.0070.08020.07
5.4.450.0070.04319.46
5.4.440.0100.07319.46
5.4.430.0000.08019.46
5.4.420.0030.04319.45
5.4.410.0000.07019.34
5.4.400.0030.03319.06
5.4.390.0000.04019.13
5.4.380.0030.03719.07
5.4.370.0000.04019.15
5.4.360.0000.03719.23
5.4.350.0000.03719.00
5.4.340.0000.03719.15
5.4.320.0030.03719.14
5.4.310.0000.03719.09
5.4.300.0030.04019.22
5.4.290.0000.03719.09
5.4.280.0000.03719.09
5.4.270.0030.04019.21
5.4.260.0030.03318.86
5.4.250.0070.03318.85
5.4.240.0030.03319.18
5.4.230.0000.03719.01
5.4.220.0030.03319.13
5.4.210.0000.03718.84
5.4.200.0000.03719.15
5.4.190.0000.03719.21
5.4.180.0000.04319.07
5.4.170.0000.03718.98
5.4.160.0000.04719.19
5.4.150.0070.07719.06
5.4.140.0030.07316.42
5.4.130.0000.05716.32
5.4.120.0130.05316.35
5.4.110.0030.08016.59
5.4.100.0030.06016.56
5.4.90.0030.04716.26
5.4.80.0000.07716.54
5.4.70.0030.04316.36
5.4.60.0100.06316.56
5.4.50.0000.04316.48
5.4.40.0000.04716.16
5.4.30.0030.05316.51
5.4.20.0070.06316.48
5.4.10.0100.06716.16
5.4.00.0000.07015.82
5.3.290.0000.05714.66
5.3.280.0000.03714.63
5.3.270.0030.03714.57
5.3.260.0000.03714.57
5.3.250.0030.07314.60
5.3.240.0070.07014.60
5.3.230.0070.04314.64
5.3.220.0030.07714.68
5.3.210.0070.07314.56
5.3.200.0070.07314.79
5.3.190.0070.07714.57
5.3.180.0070.04014.57
5.3.170.0030.07014.54
5.3.160.0070.04714.67
5.3.150.0000.08014.57
5.3.140.0000.03714.54
5.3.130.0230.03314.61
5.3.120.0000.07714.55
5.3.110.0030.04714.62
5.3.100.0070.07014.03
5.3.90.0070.07014.02
5.3.80.0100.06713.94
5.3.70.0000.07714.09
5.3.60.0000.06013.91
5.3.50.0030.07314.03
5.3.40.0030.07014.03
5.3.30.0000.05014.13
5.3.20.0000.04013.60
5.3.10.0000.03713.77
5.3.00.0130.05013.56
5.2.170.0030.05712.27
5.2.160.0000.06312.27
5.2.150.0000.07312.27
5.2.140.0000.06312.27
5.2.130.0000.06712.27
5.2.120.0030.05712.27
5.2.110.0030.05712.27
5.2.100.0070.05012.27
5.2.90.0030.05712.27
5.2.80.0030.06012.27
5.2.70.0000.06012.27
5.2.60.0000.04712.27
5.2.50.0030.06012.27
5.2.40.0000.05712.27
5.2.30.0000.05012.27
5.2.20.0030.06012.27
5.2.10.0030.03312.27
5.2.00.0130.05012.27
5.1.60.0100.04712.27
5.1.50.0000.04312.27
5.1.40.0000.03312.27
5.1.30.0030.03312.27
5.1.20.0070.03012.27
5.1.10.0030.05312.27
5.1.00.0070.05312.27
5.0.50.0000.03312.27
5.0.40.0000.03712.27
5.0.30.0030.04712.27
5.0.20.0030.04012.27
5.0.10.0000.03712.27
5.0.00.0030.06312.27
4.4.90.0070.01712.27
4.4.80.0070.03012.27
4.4.70.0000.03712.27
4.4.60.0000.03712.27
4.4.50.0030.03312.27
4.4.40.0030.03012.27
4.4.30.0000.03312.27
4.4.20.0000.03712.27
4.4.10.0030.03012.27
4.4.00.0000.05712.27
4.3.110.0000.03012.27
4.3.100.0000.02712.27
4.3.90.0030.02712.27
4.3.80.0000.03312.27
4.3.70.0000.03712.27
4.3.60.0000.03712.27
4.3.50.0070.02312.27
4.3.40.0000.04012.27
4.3.30.0030.03312.27
4.3.20.0000.03312.27
4.3.10.0000.04312.27
4.3.00.0030.03012.27