Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:27747 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 89612 invoked by uid 1010); 4 Feb 2007 16:36:44 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 89597 invoked from network); 4 Feb 2007 16:36:44 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Feb 2007 16:36:44 -0000 Authentication-Results: pb1.pair.com smtp.mail=rasmus@lerdorf.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=rasmus@lerdorf.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lerdorf.com from 204.11.219.139 cause and error) X-PHP-List-Original-Sender: rasmus@lerdorf.com X-Host-Fingerprint: 204.11.219.139 lerdorf.com Linux 2.5 (sometimes 2.4) (4) Received: from [204.11.219.139] ([204.11.219.139:33860] helo=lerdorf.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C3/80-18726-B9B06C54 for ; Sun, 04 Feb 2007 11:36:43 -0500 Received: from [192.168.200.104] (c-67-169-43-97.hsd1.ca.comcast.net [67.169.43.97]) (authenticated bits=0) by lerdorf.com (8.13.8/8.13.8/Debian-3) with ESMTP id l14GaeGB004601 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 4 Feb 2007 08:36:40 -0800 Message-ID: <45C60B98.8010900@lerdorf.com> Date: Sun, 04 Feb 2007 08:36:40 -0800 User-Agent: Thunderbird 1.5.0.9 (Macintosh/20061207) MIME-Version: 1.0 To: Marcus Boerger CC: Andi Gutmans , internals@lists.php.net References: <011701c7482d$a39f6910$6500a8c0@zend.2k> <1479182813.20070204111013@marcus-boerger.de> In-Reply-To: <1479182813.20070204111013@marcus-boerger.de> X-Enigmail-Version: 0.94.1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.90rc3/2522/Sat Feb 3 08:30:44 2007 on colo X-Virus-Status: Clean Subject: Re: [PHP-DEV] Syntactic improvement to array From: rasmus@lerdorf.com (Rasmus Lerdorf) Marcus Boerger wrote: > it is a bit harder to read and not the php way imo. The PHP way is to steal and borrow from other languages whenever possible to produce a syntax that is clear and understandable to people doing web development. 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. -Rasmus