Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:3605 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 86901 invoked from network); 25 Jul 2003 20:40:19 -0000 Received: from unknown (HELO mail.3gstech.com) (216.239.132.110) by pb1.pair.com with SMTP; 25 Jul 2003 20:40:19 -0000 Received: from 3gstech.com (ip-209-172-92-41.us01.qualys.com [209.172.92.41]) by mail.3gstech.com (Postfix) with ESMTP id 34DE49E41A7 for ; Fri, 25 Jul 2003 13:40:18 -0700 (PDT) Message-ID: <3F219542.4070907@3gstech.com> Date: Fri, 25 Jul 2003 13:38:26 -0700 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: en-us, en MIME-Version: 1.0 To: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Feature Request: array declaration From: waboring@3gstech.com (walt boring) Howdy, I hope this isn't too late in the game for PHP5, but I thought I'd throw out a request for a feature for array() declaration. I'd like to be able to be lazy and declare something like $foo = array('A' <=> 'Admin', 'C' <=> 'Customer'); which is really just a shortcut way to declare $foo = array('A' => 'Admin', 'Admin' => 'A', 'C' => 'Customer', 'Customer' => 'C'); Dunno if anyone else would find this usefull, but it'd be nice to have as a quick way to declare a simple lookup array. Walt