On Thu, May 6, 2010 at 12:59 PM, Hannes Magnusson <hannes.magnus...@gmail.com> wrote: > On Thu, May 6, 2010 at 00:48, Sara Golemon <poll...@php.net> wrote: >> pollita Wed, 05 May 2010 22:48:14 +0000 >> >> Revision: http://svn.php.net/viewvc?view=revision&revision=299037 >> >> Log: >> Add JSON_Serializable interface > > Slight bikeshedding.. but we don't use underscore for interface/classnames...
And I would go with JsonSerializable. However, where does it come from? Does it have to be an interface or why not using __toJson? I must have lived under a rock as I don't see any proposal either, be RFC or internals. Cheers, -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php