I have a json object structure in a file and I'm trying to load that in my php script in order to make an array out of it and perform some operations on that array. I'm unable to get the json_decode method to work. My first two alerts come out but "here3" never gets echoed out. Can someone see an issue with my syntax?
$file_content = file_get_contents('./pic_conf.json', true);
$conf = (array)json_decode($file_content, true);