$temp1=array(0,1,2,3);

function test1(){
        global $temp1[1];
        echo $temp1[1];
}
test1();        //신텍스 에러


$temp2=array('temp1'=>&$temp1[1],'temp2'=>array(10,11,12,13));
function test2(){
        global $temp2;
        echo $temp2['temp1'];
}
test2();        //잘됨



test1안되서 test2처럼 쓰고 있기는한데, 왜 안되는지가 궁금