Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:34755 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 82318 invoked by uid 1010); 11 Jan 2008 23:20:08 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 82302 invoked from network); 11 Jan 2008 23:20:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Jan 2008 23:20:08 -0000 Authentication-Results: pb1.pair.com smtp.mail=jeffg@activestate.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=jeffg@activestate.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain activestate.com designates 209.17.146.130 as permitted sender) X-PHP-List-Original-Sender: jeffg@activestate.com X-Host-Fingerprint: 209.17.146.130 mx.activestate.com Linux 2.6 Received: from [209.17.146.130] ([209.17.146.130:60433] helo=mx.activestate.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 48/8C-04761-6A9F7874 for ; Fri, 11 Jan 2008 18:20:07 -0500 Received: from box5.activestate.com (box5.activestate.com [192.168.69.5]) by mx.activestate.com (Postfix) with ESMTP id 19561E126B for ; Fri, 11 Jan 2008 15:20:05 -0800 (PST) Received: from opus.activestate.com (opus.activestate.com [192.168.69.200]) by box5.activestate.com (Postfix) with ESMTP id C70D17F50 for ; Fri, 11 Jan 2008 15:20:04 -0800 (PST) Message-ID: <4787F9A4.2080700@activestate.com> Date: Fri, 11 Jan 2008 15:20:04 -0800 User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: internals@lists.php.net References: <1200066425.7376.9.camel@johannes.nop> <1200075842.16083.44.camel@johannes.nop> <1200077257.12559.7.camel@sbarrow-desktop> <4787BE7C.6080205@zend.com> <1200078780.12559.14.camel@sbarrow-desktop> <4787E50A.1000108@daylessday.org> <4787EF30.8000306@daylessday.org> In-Reply-To: <4787EF30.8000306@daylessday.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] SUMMARY: Array syntax From: jeffg@activestate.com (Jeff Griffiths) Antony Dovgal wrote: ... > Well, to me it matters whether the author is going to care of the thing he's > proposing or he's going to disappear right after it's implemented. I didn't realize there was a section of the code flagged 'syntactic sugar' and only a few people maintained that part. it also seems ridiculous to debate a syntax *addition* such as this in terms of maintainability. Is it really is hard to maintain this patch to the parser? How hard is it to maintain this: $array[] = $foo; ...vs any other part of the codebase? I think a lot of web developers who use PHP would agree with Rasmus' sentiment[1]: "What is clear and understandable to web developers is a moving target. As someone mentioned, nobody who does any sort of web development today can ignore Javascript and they will typically be switching back and forth between Javascript and PHP every couple of minutes. This is our target user these days and as such this syntax is appropriate I think." [1] http://marc.info/?l=php-internals&m=117060700805108&w=2 Jeff