Get array declared outside function to every function without passing argument in php
<?php
$arr2= array('00','12','23','73');
function f1() {
print_r($arr2);
}
f1();
?>
Here we can pass the array f1($arr2), but I want to know whether we acess array inside the function 'f1' without passing, something like setting global or some else ?
I want only to know, whether it is possible or not ?