3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str = '[{"name":"clipboard","groups":["clipboard","undo"]},{"name":"editing","groups":["find","selection","spellchecker"]},{"name":"links"},{"name":"mediaembed"},{"name":"insert"},{"name":"forms"},{"name":"tools"},{"name":"document","groups":["mode","document","doctools"]},{"name":"others"},"/",{"name":"basicstyles","groups":["basicstyles","cleanup"]},{"name":"paragraph","groups":["list","indent","blocks","align","bidi"]},{"name":"styles"},{"name":"colors"},{"name":"about"}]'; var_export((array)json_decode($str));
Output for 5.2.0 - 7.2.0
array ( 0 => stdClass::__set_state(array( 'name' => 'clipboard', 'groups' => array ( 0 => 'clipboard', 1 => 'undo', ), )), 1 => stdClass::__set_state(array( 'name' => 'editing', 'groups' => array ( 0 => 'find', 1 => 'selection', 2 => 'spellchecker', ), )), 2 => stdClass::__set_state(array( 'name' => 'links', )), 3 => stdClass::__set_state(array( 'name' => 'mediaembed', )), 4 => stdClass::__set_state(array( 'name' => 'insert', )), 5 => stdClass::__set_state(array( 'name' => 'forms', )), 6 => stdClass::__set_state(array( 'name' => 'tools', )), 7 => stdClass::__set_state(array( 'name' => 'document', 'groups' => array ( 0 => 'mode', 1 => 'document', 2 => 'doctools', ), )), 8 => stdClass::__set_state(array( 'name' => 'others', )), 9 => '/', 10 => stdClass::__set_state(array( 'name' => 'basicstyles', 'groups' => array ( 0 => 'basicstyles', 1 => 'cleanup', ), )), 11 => stdClass::__set_state(array( 'name' => 'paragraph', 'groups' => array ( 0 => 'list', 1 => 'indent', 2 => 'blocks', 3 => 'align', 4 => 'bidi', ), )), 12 => stdClass::__set_state(array( 'name' => 'styles', )), 13 => stdClass::__set_state(array( 'name' => 'colors', )), 14 => stdClass::__set_state(array( 'name' => 'about', )), )
Output for 5.0.0 - 5.1.6
Fatal error: Call to undefined function json_decode() in /in/qoJBO on line 4
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: json_decode() in /in/qoJBO on line 4
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: json_decode() in /in/qoJBO on line 4
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: json_decode() in /in/qoJBO on line 4