<?php $arr = array(1 => "Hello"); var_dump($arr); $x = "fun_arr"; function fun_arr($i) { global $arr; return $arr[i]; } echo $x(1);
You have javascript disabled. You will not be able to edit any code.