note 9875 rejected and deleted from array by ronabop

From: Date: Wed, 29 Nov 2000 05:51:17 +0000
Subject: note 9875 rejected and deleted from array by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-8240@lists.php.net to get a copy of this message
OK, is everyone ready for a stupid question? Lets say I want to use a numeric index value for an array member, but the number I choose for the first array member, is in the thousands. In better words: $key = 4236 ; $my_array[$key] = 'blah' ; will instantiating this array member, cause the php scripting engine to automatically instantiate members 0-4235 with 'null' values??? If yes, this would seem to be very ineffecient... Thanx all, MARAT

« previous php.notes (#8240) next »