3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $analitos_maquinas = []; //valores de corte cabecera fluorometro $vc_cabecera_f = array( "NEO17OHP", "BIOTINIDASA", "GAOS", "NIRT", "G6PDH" ); //valores de corte cabecera espectrometro de masas $vc_cabecera_em = array( "AMINOACIDOS", "AMINOACIDOS RATIO", "ACILCARNITINAS", "ACILCARNITINAS RATIO", "CALCULADOS", "VALORES LOW" ); $this->tablasAnalitos($vc_cabecera_f, "Fluorometro"); //valores de corte cabecera aminoacidos $vc_cabecera_am = array( "ALA", "ARG", "CIT", "GLY", "LEU", "MET", "ORN", "PHE", "PRO", "SA", "TYR", "VAL" ); //valores de corte cabecera aminoacidos ratio $vc_cabecera_am_ratio = array( "ARG/PHE", "CIT/ARG", "CIT/PHE", "CIT/TYR", "GLY/ALA", "LEU/ALA", "LEU/PHE", "MET/LEU", "MET/PHE", "PHE/TYR", "VAL/LEU", "VAL/PHE" ); //valores de corte cabecera acilcarnitinas $vc_cabecera_ac = array( "C0", "C2", "C3", "C3DC+C4OH", "C4", "C4DC+C5OH", "C5", "C5:1", "C5DC+C6OH", "C6", "C6DC", "C8", "C8:1", "C10", "C10:1", "C10:2", "C12", "C12:1", "C14", "C14:1", "C14:2", "C14OH", "C16", "C16:1", "C16:1OH", "C16OH", "C18", "C18:1", "C18:1OH", "C18:2", "C18OH" ); //valores de corte cabecera acilcarnitinas ratio $vc_cabecera_ac_ratio = array( "C3/C0", "C3/C16", "C3/C2", "C3DC+C4OH/C10", "C3DC+C4OH/C5DC+C6OH", "C4/C2", "C4/C3", "C4/C8", "C4DC+C5OH/C0", "C4DC+C5OH/C8", "C5/C0", "C5/C3", "C5DC+C6OH/C16", "C5DC+C6OH/C3DC+C4OH", "C5DC+C6OH/C4DC+C5OH", "C5DC+C6OH/C8", "C8/C10", "C0/C18", "C14:1/C12:1", "C14:1/C16", "C16OH/C16" ); //valores de corte cabecera valores low $vc_cabecera_vl = array( "CIT", "MET", "ORN", "TYR", "C0", "C2", "C3", "C16", "C18" ); //valores de corte cabecera calculados $vc_cabecera_c = array( "C3/MET", "C0/C16+C18" ); $analitos_maquinas["Fluorometro"] = $vc_cabecera_f; $analitos_maquinas["EspectrometroMasas"] = $vc_cabecera_em; $analitos_maquinas["EspectrometroMasas"][$vc_cabecera_em["AMINOACIDOS"]] = $vc_cabecera_am; $analitos_maquinas["EspectrometroMasas"][$vc_cabecera_em["AMINOACIDOS RATIO"]] = $vc_cabecera_am_ratio; $analitos_maquinas["EspectrometroMasas"][$vc_cabecera_em["ACILCARNITINAS"]] = $vc_cabecera_ac; $analitos_maquinas["EspectrometroMasas"][$vc_cabecera_em["ACILCARNITINAS RATIO"]] = $vc_cabecera_ac_ratio; $analitos_maquinas["EspectrometroMasas"][$vc_cabecera_em["CALCULADOS"]] = $vc_cabecera_c; $analitos_maquinas["EspectroemtroMasas"][$vc_cabecera_vl["VALORES LOW"]] = $vc_cabecera_vl;
Output for 7.0.0 - 7.1.0
Fatal error: Uncaught Error: Using $this when not in object context in /in/Z5W6d:22 Stack trace: #0 {main} thrown in /in/Z5W6d on line 22
Process exited with code 255.
Output for 5.4.0 - 5.6.28
Fatal error: Using $this when not in object context in /in/Z5W6d on line 22
Process exited with code 255.
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.3.29
Parse error: syntax error, unexpected '[' in /in/Z5W6d on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected '[' in /in/Z5W6d on line 2
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/Z5W6d on line 2
Process exited with code 255.