3v4l.org

run code in 300+ PHP versions simultaneously
<?php $jonathan = '{ "glossary": { "title": "example glossary", "GlossDiv": { "title": "S", "GlossList": { "GlossEntry": { "ID": "SGML", "SortAs": "SGML", "GlossTerm": "Standard Generalized Markup Language", "Acronym": "SGML", "Abbrev": "ISO 8879:1986", "GlossDef": { "para": "A meta-markup language, used to create markup languages such as DocBook.", "GlossSeeAlso": ["GML", "XML"] }, "GlossSee": "markup" } } } } }'; print_r( json_decode($jonathan, false, 32) );
Output for git.master, git.master_jit, rfc.property-hooks
stdClass Object ( [glossary] => stdClass Object ( [title] => example glossary [GlossDiv] => stdClass Object ( [title] => S [GlossList] => stdClass Object ( [GlossEntry] => stdClass Object ( [ID] => SGML [SortAs] => SGML [GlossTerm] => Standard Generalized Markup Language [Acronym] => SGML [Abbrev] => ISO 8879:1986 [GlossDef] => stdClass Object ( [para] => A meta-markup language, used to create markup languages such as DocBook. [GlossSeeAlso] => Array ( [0] => GML [1] => XML ) ) [GlossSee] => markup ) ) ) ) )

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
57.16 ms | 404 KiB | 8 Q