note 20312 rejected from language.types.array by alindeman

From: Date: Fri, 29 Mar 2002 17:39:07 +0000
Subject: note 20312 rejected from language.types.array by alindeman
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-28392@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?

« previous php.notes (#28392) next »