Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:33535 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 91401 invoked by uid 1010); 30 Nov 2007 00:55:30 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 91385 invoked from network); 30 Nov 2007 00:55:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Nov 2007 00:55:29 -0000 Authentication-Results: pb1.pair.com header.from=stas@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=stas@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.162 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 212.25.124.162 mail.zend.com Windows 2000 SP4, XP SP1 Received: from [212.25.124.162] ([212.25.124.162:18399] helo=mx1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 80/9B-32949-08F5F474 for ; Thu, 29 Nov 2007 19:55:29 -0500 Received: from us-ex1.zend.com ([192.168.16.5]) by mx1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 30 Nov 2007 02:55:25 +0200 Received: from [192.168.16.91] ([192.168.16.91]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 29 Nov 2007 16:55:18 -0800 Message-ID: <474F5F75.3030808@zend.com> Date: Thu, 29 Nov 2007 16:55:17 -0800 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: Sara Golemon CC: omar@php.net, PHP Internals References: <474F0EE7.8020201@php.net> <474F4E47.8050506@zend.com> <474F5E12.1050404@php.net> In-Reply-To: <474F5E12.1050404@php.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 30 Nov 2007 00:55:18.0735 (UTC) FILETIME=[AD5D85F0:01C832EB] Subject: Re: [PHP-DEV] Proposed feature for json_encode() From: stas@zend.com (Stanislav Malyshev) > You're absolutely correct that this won't save us from brain-dead > engineers, what it will save us from is broken browsers which > misinterpret otherwise legitimate data and get broken out of their > proper context. (Yes, I've seen browsers do exactly this, and you can > probably guess which versions) Could you explain in which context? I.e. say I had a broken browser, and some JSON data having inside it - in which context that could get me into trouble? -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com