3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo json_encode( array( 'free_slot_count' => 1 ,'slot_count'=> 4 ,'queue_members'=>array( array('Автономная некоммерческая организация \"Центр социальной адаптации мигрантов\"' ,'0105980621') ,array('ООО \"АДАПТ\"' ,'7706679877') ) ) );
Output for 5.2.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
{"free_slot_count":1,"slot_count":4,"queue_members":[["\u0410\u0432\u0442\u043e\u043d\u043e\u043c\u043d\u0430\u044f \u043d\u0435\u043a\u043e\u043c\u043c\u0435\u0440\u0447\u0435\u0441\u043a\u0430\u044f \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u044f \\\"\u0426\u0435\u043d\u0442\u0440 \u0441\u043e\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0439 \u0430\u0434\u0430\u043f\u0442\u0430\u0446\u0438\u0438 \u043c\u0438\u0433\u0440\u0430\u043d\u0442\u043e\u0432\\\"","0105980621"],["\u041e\u041e\u041e \\\"\u0410\u0414\u0410\u041f\u0422\\\"","7706679877"]]}
Output for 5.0.0 - 5.1.6
Fatal error: Call to undefined function json_encode() in /in/UjU5g on line 2
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: json_encode() in /in/UjU5g on line 2
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: json_encode() in /in/UjU5g on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: json_encode() in /in/UjU5g on line 2