Passing a single array element to a function - IMPOSSIBLE?

From: Date: Wed, 02 Aug 2000 18:11:29 +0000
Subject: Passing a single array element to a function - IMPOSSIBLE?
Groups: php.general 
Request: Send a blank email to php-general+get-9768@lists.php.net to get a copy of this message
It seems that calling a function with an array element as an argument results in the whole array being passed. Am I wrong? I don't see element passing documented in the manual so I'm hopeing someone has some info. <? function PrintSomething ($Info){ print $Info; } $Array["SomeInfo"]="This is some info"; PrintSomething ($Array["SomeInfo"]); ?> results in Array ??? Anyone have any ideas Michael Krznaric RAND Worldwide Webmaster 905-625-2000 x 2325

« previous php.general (#9768) next »