note 7732 added to Geltungsbereich von Variable

From: Date: Sat, 12 Aug 2000 21:22:44 +0000
Subject: note 7732 added to Geltungsbereich von Variable
Groups: php.notes 
Request: Send a blank email to php-notes+get-1564@lists.php.net to get a copy of this message
How can I set an arry global? $CAR["GERMAN"][] = "BMW"; $CAR["GERMAN"][] = "Mercedes"; function test() { global $CAR["GERMAN"][]; echo $CAR["GERMAN"][0]; echo $CAR["GERMAN"][1]; } It doesn't work! Why not? Who could help me? thanx http://www.php.net/manual/de/language.variables.scope.php

« previous php.notes (#1564) next »