Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:34671 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 59696 invoked by uid 1010); 10 Jan 2008 23:52:05 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 59681 invoked from network); 10 Jan 2008 23:52:04 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Jan 2008 23:52:04 -0000 Authentication-Results: pb1.pair.com smtp.mail=andi@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=andi@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.162 as permitted sender) X-PHP-List-Original-Sender: andi@zend.com X-Host-Fingerprint: 212.25.124.162 mail.zend.com Windows 2000 SP4, XP SP1 Received: from [212.25.124.162] ([212.25.124.162:22431] helo=mx1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FA/51-51656-2AFA6874 for ; Thu, 10 Jan 2008 18:52:03 -0500 Received: from us-ex1.zend.com ([192.168.16.5]) by mx1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 11 Jan 2008 01:51:59 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C853E3.C8C6F6AA" x-cr-hashedpuzzle: BC0l B1dr CNgI C1Nn Df4P FI/l GGSP Gca6 Gd/M HOrY IZiN I82R K8JX MWKH MyTF M4uH;1;aQBuAHQAZQByAG4AYQBsAHMAQABsAGkAcwB0AHMALgBwAGgAcAAuAG4AZQB0AA==;Sosha1_v1;7;{BCA37071-51CD-412B-B2F4-528CA47B7C85};YQBuAGQAaQBAAHoAZQBuAGQALgBjAG8AbQA=;Thu, 10 Jan 2008 23:51:51 GMT;QQByAHIAYQB5ACAAcwB5AG4AdABhAHgAIABbAF0A Content-class: urn:content-classes:message Date: Thu, 10 Jan 2008 15:51:51 -0800 Message-ID: <698DE66518E7CA45812BD18E807866CE011C7C7E@us-ex1.zend.net> x-cr-puzzleid: {BCA37071-51CD-412B-B2F4-528CA47B7C85} X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Array syntax [] Thread-Index: AchT48Vkh/gb7nBFRmm4nzs406cvSg== To: X-OriginalArrivalTime: 10 Jan 2008 23:51:59.0776 (UTC) FILETIME=[CA5BE200:01C853E3] Subject: Array syntax [] From: andi@zend.com ("Andi Gutmans") ------_=_NextPart_001_01C853E3.C8C6F6AA Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Andi 2003: http://www.mail-archive.com/internals@lists.php.net/msg03896.html =20 Andi's brain evolves 2007: http://marc.info/?l=3Dphp-internals&m=3D117057393530217&w=3D2 =20 And today I'm still +1. =20 I really think by looking at some of the examples I worked through with my original posting in February and some of the recent comments the majority of people find [] more readable. It's cleaner, shorter and comes natural to most people. It's not about saving 5 characters as I type quickly, I really feel it's more readable and natural. We're kind of odd as a language in that sense i.e. array(...) =20 I think almost everyone here agreed it'd benefit them and maybe the ones who don't would go through the same process I went through once they get used to it J =20 Andi =20 ------_=_NextPart_001_01C853E3.C8C6F6AA--