1
locally the data leaves, but hosted does not work.
function teste(){
return array(
"importancia" => array(
"Customer el",
"Over ",
"Ovedde (MPG)"
),
"dados"=> array(
"Customer care: xthe sdsdel",
"Overall d.",
"asd"
),
"question"=> array(
"Icvxcv",
"Iasdasd"
)
);
}
$teste = teste()['importancia'];
echo count($teste);
locally appears echo = 3; now when I host the page on the server, the page simply goes blank.
The external host version is 5.3.3-7 and the one installed on my computer is 5.5.9.
What version of php on your hosting and localhost?
– rray
excuse the ignorance, but as I see the php version in my hosting?
– Denali
create a new file with this content:
<?php phpinfo();
– rray
PHP Version 5.3.3-7+squeeze26
– Denali
PHP Version 5.3.3-7+squeeze26 -> servidor
||5.5.9 -> local
– Denali