Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:52719 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 46329 invoked from network); 1 Jun 2011 22:27:09 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Jun 2011 22:27:09 -0000 Authentication-Results: pb1.pair.com smtp.mail=sandy@cypressintegrated.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=sandy@cypressintegrated.com; 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: sandy@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:2414] helo=rproxy1-a.cypressintegrated.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E1/F7-32367-BBCB6ED4 for ; Wed, 01 Jun 2011 18:27:08 -0400 Received: from bad.dop.co ([192.168.87.152]) by rproxy1-a.cypressintegrated.com (Brand New Heavy v1.0) with ASMTP id KCC37401 for ; Wed, 01 Jun 2011 18:27:01 -0400 Date: Wed, 1 Jun 2011 18:24:38 -0400 Organization: Cypress Integrated Systems, Inc. X-Priority: 3 (Normal) Message-ID: <46917015.20110601182438@cypressintegrated.com> To: PHP internals In-Reply-To: References: <4DE5368A.6050603@moonspot.net> <8BEEEE49-8DA3-4634-BF9C-120F7A15B613@roshambo.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Resent-From: sandy@cypressintegrated.com Subject: Re: [PHP-DEV] RFC: Short syntax for Arrays (redux) From: sandy@cypressintegrated.com (Sanford Whiteman) > Vs. the JSON form: > { > time: {'$and': [ > {'$gt': strtotime('-1 day')}, > {'$lt': time()}, > ]}, > '$or': [ > {foo: 'bar'}, > {hello: 'world'} > ] > } That isn't valid JSON for many different reasons... if you think that's "pure JSON," you need to spend some time with JSONLint. If you (and others) mean "Javascript object literal," say it. (Similarly, if you mean "Javascript," don't say "jQuery" .) -- S.