3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $files=array("Expurgo", "Famosos e Etc/Ego", "Famosos e Etc/Ego/40 Graus", "Famosos e Etc/Ego/40 Graus/Home", "Famosos e Etc/Ego/Beleza", "Famosos e Etc/Ego/Beleza/Home", "Famosos e Etc/Ego/Carnaval", "Famosos e Etc/Ego/Especiais/Avon", "Famosos e Etc/Ego/Especiais/Dia das Maes", "Famosos e Etc/Ego/Especiais/Lollapalooza", "Famosos e Etc/Ego/Especiais/Lollapalooza/Home", "Famosos e Etc/Ego/Especiais/Loreal", "Famosos e Etc/Ego/Especiais/Malwee", "Famosos e Etc/Ego/Especiais/Natal", "Famosos e Etc/Ego/Especiais/Pascoa", "Famosos e Etc/Ego/Especiais/Rock in Rio", "Famosos e Etc/Ego/Especiais/Rock in Rio/Home", "Famosos e Etc/Ego/Especiais/The Body Shop", "Famosos e Etc/Ego/Gravidez", "Famosos e Etc/Ego/Gravidez/Home", "Famosos e Etc/Ego/Home", "Famosos e Etc/Ego/Horoscopo", "Famosos e Etc/Ego/Horoscopo/Home", "Famosos e Etc/Ego/Moda", "Famosos e Etc/Ego/Moda/Home", "Famosos e Etc/Ego/Teen", "Famosos e Etc/Ego/Teen/Home", "Famosos e Etc/Home", "G1/Agronegocios", "G1/Agronegocios/Home", "G1/Bem Estar", "G1/Bem Estar/Home", "G1/Blogs e Colunas", "G1/Blogs e Colunas/Altieres Rohr", "G1/Blogs e Colunas/Alysson Muotri", "G1/Blogs e Colunas/Andrea Ramal", "G1/Blogs e Colunas/Bruno Medina", "G1/Blogs e Colunas/Cassio Barbosa", "G1/Blogs e Colunas/Cristina Lobo", "G1/Blogs e Colunas/Geneton Moraes Neto", "G1/Blogs e Colunas/Luciano Trigo", "G1/Blogs e Colunas/Paulo Coelho", "G1/Blogs e Colunas/Redacao", "G1/Blogs e Colunas/Ronaldo Prass", "G1/Blogs e Colunas/Sergio Nogueira", "G1/Blogs e Colunas/Startup", "G1/Blogs e Colunas/Thais Heredia", "G1/Blogs e Colunas/Viver Noronha", "G1/Blogs e Colunas/Yvonne Maggie", "G1/Blogs e Colunas/Zeca Camargo"); $master_array=array(); foreach($files as $file) { $file=explode("/",$file); $cache=end($file); while($level=prev($file)) { $cache=array($level=>$cache); } $master_array=array_merge_recursive($master_array,$cache); } print_r($master_array);
based on 2g2Br

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.0090.00316.60
7.3.00.0000.01016.56
7.2.130.0030.00917.07
7.2.120.0090.00316.99
7.2.110.0060.00616.89
7.2.100.0030.00716.82
7.2.90.0030.00917.01
7.2.80.0080.00417.08
7.2.70.0060.00316.93
7.2.60.0050.00516.75
7.2.50.0090.00616.77
7.2.40.0030.00616.86
7.2.30.0120.00317.10
7.2.20.0060.00616.70
7.2.10.0050.00516.86
7.2.00.0070.00518.31
7.1.250.0040.01215.51
7.1.200.0090.00315.63
7.1.100.0060.00618.15
7.1.70.0060.00317.10
7.1.60.0060.00619.46
7.1.50.0130.01016.97
7.1.00.0030.07722.46
7.0.200.0040.00416.57
7.0.140.0100.06022.07
7.0.60.0000.08019.87
7.0.50.0030.09017.92
7.0.40.0070.05319.98
7.0.30.0300.07720.11
7.0.20.0300.07720.12
7.0.10.0070.05720.01
7.0.00.0030.08720.20
5.6.280.0070.07321.11
5.6.210.0100.07020.72
5.6.200.0070.04318.26
5.6.190.0030.09320.67
5.6.180.3600.03320.43
5.6.170.0230.07720.44
5.6.160.0030.04720.42
5.6.150.0030.05018.21
5.6.140.0000.05018.17
5.6.130.0070.07718.24
5.6.120.0030.07321.13
5.6.110.0070.06321.12
5.6.100.0100.08321.12
5.6.90.0100.07020.97
5.6.80.0100.07020.39
5.6.70.3900.04320.38
5.5.350.0370.07320.43
5.5.340.0100.07717.92
5.5.330.0130.07720.40
5.5.320.3230.03720.17
5.5.310.0300.05020.13
5.5.300.0030.06018.01
5.5.290.0100.04318.02
5.5.280.0130.04320.74
5.5.270.0000.05020.88
5.5.260.0100.07020.73
5.5.250.0030.06020.71
5.5.240.0330.06720.27
5.4.450.0470.09019.45
5.4.440.0470.08019.29
5.4.430.0130.05719.62
5.4.420.1070.06019.41
5.4.410.0970.06719.50
5.4.400.0430.06018.92
5.4.390.0130.06318.54
5.4.380.0270.05318.64
5.4.370.0130.06018.73
5.4.360.0300.06318.67
5.4.350.0170.06018.77
5.4.340.0230.05318.54
5.4.320.0200.05718.77
5.4.310.0200.05018.74
5.4.300.0370.06018.68
5.4.290.0170.06018.61
5.4.280.0200.05718.66
5.4.270.0230.05018.74
5.4.260.0230.06018.66
5.4.250.0230.06018.55
5.4.240.0200.05718.63
5.4.230.0230.05018.70
5.4.220.0130.07318.49
5.4.210.0230.04718.57
5.4.200.0070.06016.66
5.4.190.0170.05318.81
5.4.180.0330.06718.52
5.4.170.0230.05018.67
5.4.160.0200.05718.68
5.4.150.0300.04718.45
5.4.140.0230.05016.19
5.4.130.0270.04716.05
5.4.120.0200.05716.27
5.4.110.0130.05316.18
5.4.100.0170.05316.14
5.4.90.0200.05016.25
5.4.80.0270.04316.23
5.4.70.0130.05316.21
5.4.60.0170.05016.23
5.4.50.0130.05316.25
5.4.40.0270.04016.25
5.4.30.0130.05016.29
5.4.20.0130.06316.32
5.4.10.0130.05016.14
5.4.00.0130.05015.75
5.3.290.0170.05314.64
5.3.280.0170.05314.59
5.3.270.0270.04714.60
5.3.260.0070.06714.55
5.3.250.0170.05014.66
5.3.240.0130.05714.57
5.3.230.0070.06014.52
5.3.220.0100.05714.59
5.3.210.0100.06014.52
5.3.200.0130.05714.56
5.3.190.0100.06014.64
5.3.180.0170.05314.50
5.3.170.0170.05014.63
5.3.160.0200.06314.56
5.3.150.0130.05714.51
5.3.140.0170.05314.55
5.3.130.0230.05014.52
5.3.120.0300.04014.67
5.3.110.0170.05714.46
5.3.100.0130.05314.05
5.3.90.0200.05014.11
5.3.80.0270.04314.09
5.3.70.0170.05014.02
5.3.60.0100.06013.95
5.3.50.0130.05013.90
5.3.40.0130.05313.95
5.3.30.0200.05313.82
5.3.20.0100.05713.81
5.3.10.0100.05313.68
5.3.00.0130.05713.73
5.2.170.0100.04711.14
5.2.160.0170.04311.12
5.2.150.0170.05011.13
5.2.140.0200.03711.10
5.2.130.0100.04311.13
5.2.120.0200.03311.07
5.2.110.0170.03711.09
5.2.100.0170.03711.11
5.2.90.0130.05011.26
5.2.80.0170.05311.10
5.2.70.0170.04311.11
5.2.60.0100.04711.05
5.2.50.0100.04711.17
5.2.40.0070.04710.98
5.2.30.0130.04311.14
5.2.20.0130.04710.96
5.2.10.0070.04710.89
5.2.00.0070.05010.71
5.1.60.0130.03310.05
5.1.50.0130.03710.16
5.1.40.0100.03710.00
5.1.30.0070.04310.45
5.1.20.0130.04310.42
5.1.10.0130.04310.20
5.1.00.0100.04010.11
5.0.50.0070.0338.59
5.0.40.0130.0308.46
5.0.30.0070.0478.27
5.0.20.0030.0338.29
5.0.10.0070.0438.35
5.0.00.0130.0378.20
4.4.90.0030.0306.06
4.4.80.0100.0235.95
4.4.70.0130.0235.98
4.4.60.0030.0275.91
4.4.50.0100.0235.96
4.4.40.0100.0405.86
4.4.30.0070.0235.90
4.4.20.0130.0206.04
4.4.10.0100.0236.01
4.4.00.0130.0335.94
4.3.110.0030.0275.80
4.3.100.0070.0235.86
4.3.90.0070.0235.93
4.3.80.0100.0375.88
4.3.70.0130.0135.86
4.3.60.0070.0235.85
4.3.50.0100.0205.93
4.3.40.0100.0335.84
4.3.30.0100.0204.62
4.3.20.0070.0234.55
4.3.10.0070.0204.53
4.3.00.0030.0239.48