Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:21741 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 86610 invoked by uid 1010); 31 Jan 2006 02:45:29 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 86589 invoked from network); 31 Jan 2006 02:45:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 Jan 2006 02:45:29 -0000 Received: from ([127.0.0.1:11380]) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with ECSTREAM id 7D/6E-30290-94FCED34 for ; Mon, 30 Jan 2006 21:45:29 -0500 X-Host-Fingerprint: 66.249.92.207 uproxy.gmail.com Received: from ([66.249.92.207:14380] helo=uproxy.gmail.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id A3/6E-30290-BCDCED34 for ; Mon, 30 Jan 2006 21:39:07 -0500 Received: by uproxy.gmail.com with SMTP id m2so74132ugc for ; Mon, 30 Jan 2006 18:39:03 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:x-mailer:reply-to:organization:x-priority:message-id:to:subject:mime-version:content-type:content-transfer-encoding; b=Uf/wnFFVkATwczzTNCo4QaA6gHlXJBMiDKA1NkAKMGjmvxlp0cASqXZAeEQ+L4tnQPhLnQ58Gt16DuXSxgjetQ3aO/rvcnLUpKzLNvs/MWBYP4ao9mjkAyV0RP/BmrF5TMca3A5jF7H6eSPcFoWp+rhCxT11S6qAUnrOi8qfjtw= Received: by 10.48.235.6 with SMTP id i6mr943958nfh; Mon, 30 Jan 2006 18:39:03 -0800 (PST) Received: from GERI-NOTEBOOK ( [87.224.220.31]) by mx.gmail.com with ESMTP id n22sm1287484nfc.2006.01.30.18.39.02; Mon, 30 Jan 2006 18:39:03 -0800 (PST) Date: Tue, 31 Jan 2006 07:39:30 +0500 X-Mailer: The Bat! (v3.0.1.33) Professional Reply-To: Paul Organization: =?Windows-1251?Q?=22=CF=E5=F0=E2=E0=FF_=D1=F2=F3=E4=E8=FF=22?= X-Priority: 3 (Normal) Message-ID: <323190394.20060131073930@gmail.com> To: internals@lists.php.net MIME-Version: 1.0 Content-Type: text/plain; charset=Windows-1251 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] JSON inclusion in core From: gugglegum@gmail.com (Paul) =C7=E4=F0=E0=E2=F1=F2=E2=F3=E9=F2=E5, internals. > "From: Rasmus Lerdorf > To: internals@lists.php.net > CC: omar@rmilk.com > Subject: [PHP-DEV] JSON inclusion in core > Date: Fri, 20 Jan 2006 11:31:58 -0800 >=20 > pecl/json is a rather simple extension with no external deps (it > bundles the small library it uses). The JSON format is stable with > no real possibility of changing basically by definition, and I see > its use exploding this year. There is also talk to a JSON Request > object being added to browsers and if that happens we need to > support that natively much like we support url-encoded form data > ending up directly in $_POST. I could see a $_JSON if browsers > start sending this. But, as an initial step how about we bundle > pecl/json in the next release? I think super-global array $_JSON is a bad idea, because it allows only single instance. It is not $_GET or $_POST which are always single per request. Also, $_SESSION was bad idea too, when we need 2 separated sessions (for example with different cookie params) - we cant use PHP integrated session solution. So please, do not repeat old mistakes. -- Regards, Paul mailto:gugglegum@gmail.com