3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $coisas = "`url`, `nome`, `link_do_hotsite`, `status_da_obra`, `resumo`, `sobre_empreendimento`, `diferenciais`, `dormitorios`, `dormitorios_descritivo`, `suites`, `suites_descritivo`, `faixa_de_metragens`, `faixa_de_precos`, `tipologia`, `vagas_na_garagem`, `area_privativa`, `area_do_terreno`, `numero_de_torres`, `numero_de_pavimentos`, `numero_de_aptos_por_andar`, `numero_total_de_unidades`, `numero_de_elevadores`, `projeto_arquitetonico`, `projeto_paisagistico`, `projeto_de_decoracao`, `projeto_de_area_comum`, `construcao`, `incorporacao`, `vendas`, `data_de_lancamento`, `previsao_de_entrega`, `alvara_de_construcao`, `registro_de_imoveis`, `estilo`, `programa_dos_apartamentos`, `programa_area_comum`, `outras_informacoes`, `logradouro`, `numero`, `bairro`, `cidade`, `estado`, `cep`, `sobre_bairro`, `conteudo_balaozinho`, `latitude`, `longetude`, `trisul_life_lar`, `link_do_youtube`, `link_do_tour_virtual`, `keywords`, `description`, `id_produto`, `vendido`, `muda_info`, `exibir_imovel`, `data`"; $arruma = str_replace("`", "", $coisas); $array = explode(",", $arruma); foreach($array as $ar) { echo $ar."'\".mysql_real_escape_string(utf8_decode($cidade)).\"',"; }

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.60.0030.01316.93
7.2.50.0070.01117.04
7.1.200.0060.00615.63
7.1.70.0040.00417.20
7.1.60.0030.02119.82
7.1.50.0090.00417.15
7.1.00.0000.07722.27
7.0.200.0030.01116.56
7.0.140.0070.07021.95
7.0.60.0100.04019.92
7.0.50.0070.08017.93
7.0.40.0100.08020.24
7.0.30.0170.04720.30
7.0.20.0230.03720.09
7.0.10.0070.09020.13
7.0.00.0100.08720.08
5.6.280.0030.07320.89
5.6.210.0170.04720.61
5.6.200.0130.04718.21
5.6.190.0070.04020.43
5.6.180.0500.07320.45
5.6.170.0270.07320.52
5.6.160.0070.08720.34
5.6.150.0000.08018.23
5.6.140.0030.07718.21
5.6.130.0030.04018.21
5.6.120.0100.03320.98
5.6.110.0070.05020.98
5.6.100.0070.03720.88
5.6.90.0130.08020.97
5.6.80.0100.07320.38
5.5.350.0170.07720.50
5.5.340.0100.07017.93
5.5.330.0030.07020.13
5.5.320.0070.04720.17
5.5.310.0300.07020.14
5.5.300.0070.05317.97
5.5.290.0070.06717.95
5.5.280.0100.08020.80
5.5.270.0130.06320.75
5.5.260.0000.08720.79
5.5.250.0030.07020.58
5.5.240.0100.07320.26
5.4.450.0300.07019.51
5.4.440.0200.05019.13
5.4.430.0270.02719.40
5.4.420.0270.03019.43
5.4.410.0170.03318.98
5.4.400.0270.03018.92
5.4.390.0170.03718.88
5.4.380.0130.04019.09
5.4.370.0130.04319.08
5.4.360.0130.04019.10
5.4.350.0130.04018.82
5.4.340.0270.02718.81
5.4.320.0130.04019.11
5.4.310.0130.03718.81
5.4.300.0300.06018.91
5.4.290.0130.06019.10
5.4.280.0200.06718.88
5.4.270.0330.04018.92
5.4.260.0270.07318.80
5.4.250.0300.05719.10
5.4.240.0200.04719.23
5.4.230.0230.05719.22
5.4.220.0230.07019.06
5.4.210.0300.04719.05
5.4.200.0270.05019.20
5.4.190.0230.07719.20
5.4.180.0270.06319.05
5.4.170.0370.02719.10
5.4.160.0200.04318.89
5.4.150.0200.04719.06
5.4.140.0200.07016.34
5.4.130.0170.04016.35
5.4.120.0100.04016.28
5.4.110.0270.06016.22
5.4.100.0130.04316.46
5.4.90.0230.05716.20
5.4.80.0270.05716.46
5.4.70.0200.05016.21
5.4.60.0230.03316.43
5.4.50.0200.03716.45
5.4.40.0170.07316.20
5.4.30.0170.04016.38
5.4.20.0200.04016.27
5.4.10.0330.05716.37
5.4.00.0130.05715.61
5.3.290.0100.05014.50
5.3.280.0330.06314.53
5.3.270.0330.03014.45
5.3.260.0200.04314.48
5.3.250.0200.04314.64
5.3.240.0200.03714.56
5.3.230.0130.04014.46
5.3.220.0170.03714.48
5.3.210.0130.04714.40
5.3.200.0170.03314.41
5.3.190.0170.06014.48
5.3.180.0200.03314.43
5.3.170.0270.05014.55
5.3.160.0170.07014.55
5.3.150.0230.06314.41
5.3.140.0200.04314.43
5.3.130.0070.04714.39
5.3.120.0270.02714.39
5.3.110.0200.04314.41
5.3.100.0270.07014.15
5.3.90.0170.07313.89
5.3.80.0200.07013.97
5.3.70.0230.04314.07