Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:52800 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 99803 invoked from network); 2 Jun 2011 18:37:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Jun 2011 18:37:07 -0000 Authentication-Results: pb1.pair.com header.from=swhitemanlistens-software@cypressintegrated.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=swhitemanlistens-software@cypressintegrated.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain cypressintegrated.com designates 69.28.242.152 as permitted sender) X-PHP-List-Original-Sender: swhitemanlistens-software@cypressintegrated.com X-Host-Fingerprint: 69.28.242.152 rproxy1-a.cypressintegrated.com Windows 2000 SP4, XP SP1 Received: from [69.28.242.152] ([69.28.242.152:3917] helo=rproxy1-a.cypressintegrated.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4E/53-11525-258D7ED4 for ; Thu, 02 Jun 2011 14:37:06 -0400 Received: from bad.dop.co ([192.168.87.152]) by rproxy1-a.cypressintegrated.com (Brand New Heavy v1.0) with ASMTP id LYN87402 for ; Thu, 02 Jun 2011 14:37:02 -0400 Date: Thu, 2 Jun 2011 14:24:23 -0400 Reply-To: Sanford Whiteman X-Priority: 3 (Normal) Message-ID: <1745653582.20110602142423@cypressintegrated.com> To: PHP internals In-Reply-To: <3158105795AAC1408619EC8BA03384A90A3720@EXC-MBX02.leedsmet.ac.uk> References: <4DE5368A.6050603@moonspot.net> <8BEEEE49-8DA3-4634-BF9C-120F7A15B613@roshambo.org> <3158105795AAC1408619EC8BA03384A90A3720@EXC-MBX02.leedsmet.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Resent-From: swhitemanlistens-software@cypressintegrated.com Subject: Re: [PHP-DEV] RFC: Short syntax for Arrays (redux) From: swhitemanlistens-software@cypressintegrated.com (Sanford Whiteman) > Also matter of opinion, and of experience. Apart from the fact that > my use of jQuery amounts to a few weeks out of a (mumble)-year > programming career, no I don't use pure JSON for it - Javascript > object literals, yes, but not pure JSON. It's not just you. The claim that people regularly pass JSON strings within JS frameworks is comical; it would be about as smart as passing serialized PHP vars between PHP functions. > I *want* my PHP arrays to look different from my Javascript/JSON > arrays, especially as I might be looking at both as part of the same > project -- I *want* a big data structure to scream "I'm PHP" or "I'm > Javascript/JSON" at me, to help trigger my brain into the right > programming mode. +1 -- S.