how to make a global scope array

From: Date: Sat, 26 Jul 2003 13:49:11 +0000
Subject: how to make a global scope array
Groups: php.general 
Request: Send a blank email to php-general+get-156954@lists.php.net to get a copy of this message
//I have an array a[] like this: <?php $a[]=0; //How to define and use it in a function like this? function myfunc(something) { echo $a[0]; //got error here!!!! Notice: Undefined variable: } ?> //Thanks for any help.!!!

« previous php.general (#156954) next »