Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:27859 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 29129 invoked by uid 1010); 6 Feb 2007 15:47:29 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 29114 invoked from network); 6 Feb 2007 15:47:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Feb 2007 15:47:29 -0000 Authentication-Results: pb1.pair.com smtp.mail=schultz@widescreen.ch; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=schultz@widescreen.ch; sender-id=unknown Received-SPF: error (pb1.pair.com: domain widescreen.ch from 195.49.42.11 cause and error) X-PHP-List-Original-Sender: schultz@widescreen.ch X-Host-Fingerprint: 195.49.42.11 mail.screenlight.ch FreeBSD 4.8-5.1 (or MacOS X 10.2-10.3) Received: from [195.49.42.11] ([195.49.42.11:61149] helo=screenlight.ch) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 9B/B1-18465-F03A8C54 for ; Tue, 06 Feb 2007 10:47:28 -0500 Received: from [195.49.42.3] (account lars@toolpark.com HELO [192.168.1.168]) by screenlight.ch (CommuniGate Pro SMTP 4.1.8) with ESMTP id 3646144 for internals@lists.php.net; Tue, 06 Feb 2007 16:46:45 +0100 Message-ID: <45C8A32D.8060404@widescreen.ch> Date: Tue, 06 Feb 2007 16:47:57 +0100 User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: internals@lists.php.net References: <011701c7482d$a39f6910$6500a8c0@zend.2k> <28139bc0702040319p6a5cffdbi2e5999d7ebf48662@mail.gmail.com> <45C6DCF5.1000102@dealnews.com> <45C7710D.5030205@zend.com> <45C7747B.3070603@dealnews.com> <45C7766D.8050909@zend.com> <51602.216.230.84.67.1170718426.squirrel@www.l-i-e.com> <45C89EE2.6090800@troppoavanti.it> In-Reply-To: <45C89EE2.6090800@troppoavanti.it> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Syntactic improvement to array From: schultz@widescreen.ch (Lars Schultz) Hi. > Our 'newbie' at least has a good chance of figuring out > $a = [1,2,3] vs. $a = array(1,2,3) > is different than > $a = foobar(1,2,3) I am probably out of my depth here...but I actually find the argument about wether to introduce this syntax or not, very entertaining...it's a classic example of human individuality. great really;) The argument against introducing the new syntax, that says, that it's less searchable,...well...why not improve the search functionality of the php-documentation? it would help with all the other operators (and magic functions and language constructs) if the search-function would try to match the search-input against operators and constructs, no? I know that google won't show anything worthwhile when queried about "php []" or the like...but...the php-documentation is very good and maybe we could improve access to it...a newbie could then query all he wants in the php-doc page. No good? Lars