Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:27791 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 99165 invoked by uid 1010); 5 Feb 2007 07:30:01 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 99150 invoked from network); 5 Feb 2007 07:30:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Feb 2007 07:30:01 -0000 Authentication-Results: pb1.pair.com smtp.mail=brianm@dealnews.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=brianm@dealnews.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain dealnews.com designates 129.41.69.185 as permitted sender) X-PHP-List-Original-Sender: brianm@dealnews.com X-Host-Fingerprint: 129.41.69.185 smtp.dealnews.com Linux 2.5 (sometimes 2.4) (4) Received: from [129.41.69.185] ([129.41.69.185:41283] helo=smtp.dealnews.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7D/1C-18726-8FCD6C54 for ; Mon, 05 Feb 2007 02:30:00 -0500 Received: (qmail 3599 invoked from network); 5 Feb 2007 02:29:58 -0500 Received: from unknown (HELO ?10.1.6.4?) (10.1.6.4) by -H with SMTP; 5 Feb 2007 02:29:58 -0500 Message-ID: <45C6DCF5.1000102@dealnews.com> Date: Mon, 05 Feb 2007 01:29:57 -0600 User-Agent: Thunderbird 2.0b2 (Macintosh/20070116) MIME-Version: 1.0 To: phpxcache CC: Andi Gutmans , internals@lists.php.net References: <011701c7482d$a39f6910$6500a8c0@zend.2k> <28139bc0702040319p6a5cffdbi2e5999d7ebf48662@mail.gmail.com> In-Reply-To: <28139bc0702040319p6a5cffdbi2e5999d7ebf48662@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Syntactic improvement to array From: brianm@dealnews.com (Brian Moon) phpxcache wrote: > most ppl who works on web pages have to know what javascript > is, so there isn't any difficulty for ppl to get used ... You give brand new PHP hackers too much credit. Sure professional PHP developers do have to work with Javascript. But, working on Phorum and see real users who are trying to hack their way around PHP, I can tell you, they don't have a clue what they are doing. $a = [1,2,3]; would not mean jack sqat to those folks. And as stated, finding docs on that syntax would not be easy. I tried finding the docs on the back tick syntax the other day and had a hard time. And I know what it does. I finally had to go look up exec() and hope some good doc writer (thanks, whoever that was) had linked the back tick syntax there. -1 for confusing new PHP users. -- Brian Moon ------------- http://dealnews.com/ It's good to be cheap =)