Re: Proposed feature for json_encode()

From: Date: Fri, 30 Nov 2007 00:55:17 +0000
Subject: Re: Proposed feature for json_encode()
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-33535@lists.php.net to get a copy of this message
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 <foo> 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

« previous php.internals (#33535) next »