Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:42274 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 4414 invoked from network); 15 Dec 2008 21:43:47 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Dec 2008 21:43:47 -0000 Authentication-Results: pb1.pair.com smtp.mail=johncart@cisco.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=johncart@cisco.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain cisco.com from 144.254.224.140 cause and error) X-PHP-List-Original-Sender: johncart@cisco.com X-Host-Fingerprint: 144.254.224.140 ams-iport-1.cisco.com Received: from [144.254.224.140] ([144.254.224.140:58613] helo=ams-iport-1.cisco.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 9E/22-24547-19FC6494 for ; Mon, 15 Dec 2008 16:43:46 -0500 X-IronPort-AV: E=Sophos;i="4.36,226,1228089600"; d="scan'208";a="28691353" Received: from ams-dkim-1.cisco.com ([144.254.224.138]) by ams-iport-1.cisco.com with ESMTP; 15 Dec 2008 21:43:42 +0000 Received: from ams-core-1.cisco.com (ams-core-1.cisco.com [144.254.224.150]) by ams-dkim-1.cisco.com (8.12.11/8.12.11) with ESMTP id mBFLhg9D006041 for ; Mon, 15 Dec 2008 22:43:42 +0100 Received: from xbh-ams-332.emea.cisco.com (xbh-ams-332.cisco.com [144.254.231.87]) by ams-core-1.cisco.com (8.13.8/8.13.8) with ESMTP id mBFLhgFo013877 for ; Mon, 15 Dec 2008 21:43:42 GMT Received: from xmb-ams-33e.emea.cisco.com ([144.254.231.75]) by xbh-ams-332.emea.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 15 Dec 2008 22:43:42 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Mon, 15 Dec 2008 22:43:41 +0100 Message-ID: In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PHP-DEV] json_encode() Thread-Index: Acle+tGRuPfRK3HdSCWdLj9pIpCjnQAAtelA References: <494698D3.2030801@lerdorf.com> <7977336F527D4A70B0E4DD2870708686@VEGA> <98b8086f0812151310v29603f68kafdb168c6c4e94e9@mail.gmail.com> To: "PHP Developers Mailing List" X-OriginalArrivalTime: 15 Dec 2008 21:43:42.0640 (UTC) FILETIME=[32F52300:01C95EFE] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=327; t=1229377422; x=1230241422; c=relaxed/simple; s=amsdkim1002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=johncart@cisco.com; z=From:=20=22John=20Carter=20-X=20(johncart=20-=20PolicyApp= 20Ltd=20at=20Cisco)=22=20 |Subject:=20RE=3A=20[PHP-DEV]=20json_encode() |Sender:=20; bh=eqrOm60ZdQo+3gf8CLXKJ4PJGEUi7p/x6GgTTT42dXM=; b=iQG0+P/tOSvxc03fWsIgwUG5RGJNmMRSBgzNK3agsbphjsIZp/HxNc6Dra p83DaPdHA+uyy1KirRtRR38DR5GOR5TJ63RuPbxZiEDF/mrIoIhW+8YV8bV5 6q/wFbZPo5; Authentication-Results: ams-dkim-1; header.From=johncart@cisco.com; dkim=pass ( sig from cisco.com/amsdkim1002 verified; ); Subject: RE: [PHP-DEV] json_encode() From: johncart@cisco.com ("John Carter -X (johncart - PolicyApp Ltd at Cisco)") How about a strict mode added to the list of the current json_encode() options? That way current code will continue to work and anyone reading the docs will know the default behaviour isn't strictly correct. John. John Carter Development Manager NAC Governance Server Cisco johncart@cisco.com +44 161 249 5825