RE: [PHP] help with PHP global array

From: Date: Thu, 07 Feb 2002 15:48:38 +0000
Subject: RE: [PHP] help with PHP global array
Groups: php.general 
Request: Send a blank email to php-general+get-83861@lists.php.net to get a copy of this message
Hi all, I have tried: global $myArray[] and it gives me an error 'the array expects semi-colon or comma'. Any helps would be appreciated! Thanks, Wee -----Original Message----- From: Bjorn Abt [mailto:bjoern.abt@vertical.ch] Sent: Thursday, February 07, 2002 10:57 AM To: 'Chua@mail.interclean.com' Subject: AW: [PHP] help with PHP global array I would try: global $myArray[] Greetings Björn -----Ursprüngliche Nachricht----- Von: Wee Chua [ mailto:Chua@mail.interclean.com <mailto:Chua@mail.interclean.com> ] Gesendet: Donnerstag, 7. Februar 2002 16:35 An: PHP (E-mail) Betreff: [PHP] help with PHP global array Hi all, How can I declare a global array? Can I do this: $global myArray[] would I find out it is an array when I use it in other places? Thanks, Wee -- PHP General Mailing List ( http://www.php.net/ <http://www.php.net/> ) To unsubscribe, visit: http://www.php.net/unsub.php <http://www.php.net/unsub.php>

« previous php.general (#83861) next »