Thanks for the replies (John & Scott), I think my problem is to do with Apachie or PHP(4) setup? because I get similar errors to this with almost every php coded stuff I try, I'm no coder myself so I'm using other peoples stuff (in this instance it's a Photogallery.
This is the section giving me the error in this case (last line), this script is called from another php and the only output I get in the browser is the error previously posted:
$languages = array(
"en" => array(
"short" => "en", // must be same as array handle!!!
"full" => "English"
),
"fi" => array(
"short" => "fi",
"full" => "Suomi"
),
);