note 20312 added to language.types.array

From: Date: Fri, 29 Mar 2002 16:38:55 +0000
Subject: note 20312 added to language.types.array
Groups: php.notes 
Request: Send a blank email to php-notes+get-28385@lists.php.net to get a copy of this message
Does anyone else than me think that a syntax like: $ar = [1,2,3,4] $ar = [0 => 'a', 1 => 'b'] would be much nicer and clearer. Is there any particular reason why php couldn't support this syntax also? -- http://www.php.net/manual/en/language.types.array.php http://master.php.net/manage/user-notes.php?action=edit+20312 http://master.php.net/manage/user-notes.php?action=delete+20312 http://master.php.net/manage/user-notes.php?action=reject+20312

« previous php.notes (#28385) next »