JSON and serialize() are (inherently) different serialization formats with
different use-cases [...]
Yes, and json requires that all strings (including the keys) has to be
valid utf-8, and I'm sure that's not always the case (serialize can
use binary data in both places).
--
PHP Internals -
On 31/03/13 23:18, ALeX wrote:
JSON and serialize() are (inherently) different serialization formats with
different use-cases [...]
Yes, and json requires that all strings (including the keys) has to be
valid utf-8, and I'm sure that's not always the case (serialize can
use binary data in