Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:52717 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 41362 invoked from network); 1 Jun 2011 22:22:31 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Jun 2011 22:22:31 -0000 Authentication-Results: pb1.pair.com smtp.mail=sean@seancoates.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=sean@seancoates.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain seancoates.com from 64.15.79.181 cause and error) X-PHP-List-Original-Sender: sean@seancoates.com X-Host-Fingerprint: 64.15.79.181 iconoclast.caedmon.net Received: from [64.15.79.181] ([64.15.79.181:56312] helo=iconoclast.caedmon.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 40/E6-32367-6ABB6ED4 for ; Wed, 01 Jun 2011 18:22:30 -0400 Received: from localhost (localhost [127.0.0.1]) by iconoclast.caedmon.net (Postfix) with ESMTP id C3725784057; Wed, 1 Jun 2011 18:23:20 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at iconoclast.caedmon.net Received: from iconoclast.caedmon.net ([127.0.0.1]) by localhost (iconoclast.caedmon.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id M0YYp41wN8Sz; Wed, 1 Jun 2011 18:23:19 -0400 (EDT) Received: from [192.168.145.200] (modemcable050.248-178-173.mc.videotron.ca [173.178.248.50]) by iconoclast.caedmon.net (Postfix) with ESMTPSA id 1C05B784052; Wed, 1 Jun 2011 18:23:19 -0400 (EDT) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii In-Reply-To: Date: Wed, 1 Jun 2011 18:22:24 -0400 Cc: Anthony Ferrara , PHP internals Content-Transfer-Encoding: quoted-printable Message-ID: <680A4D41-D276-400E-8869-1C00AD2288D4@seancoates.com> References: <4DE5368A.6050603@moonspot.net> <8BEEEE49-8DA3-4634-BF9C-120F7A15B613@roshambo.org> To: Michael Shadle X-Mailer: Apple Mail (2.1084) Subject: Re: [PHP-DEV] RFC: Short syntax for Arrays (redux) From: sean@seancoates.com (Sean Coates) > Why not make your data in JSON and then $foo =3D json_encode($data) ? For exactly the same reason people actually use callbacks efficiently, = now that they don't have to create_function() them. S