note 49199 deleted from language.types.array by betz

From: Date: Tue, 18 Oct 2005 06:36:59 +0000
Subject: note 49199 deleted from language.types.array by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-97142@lists.php.net to get a copy of this message
Note Submitter: ---- <? $array[-5] = 'minus five'; $array[] = 'minus four '; $array[] = 'minus three'; $array[] = 'minus two'; $array[] = 'minus one'; $array[] = 'zero'; $array[] = 'one'; $array[] = 'two'; $array[] = 'three'; $array[] = 'four'; echo "<pre>"; print_r($array); echo "</pre>"; ?> result : Array ( [-5] => minus five [0] => minus four [1] => minus three [2] => minus two [3] => minus one [4] => zero [5] => one [6] => two [7] => three [8] => four ) php verion : 5.02

« previous php.notes (#97142) next »