3v4l.org

run code in 300+ PHP versions simultaneously
<?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.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.28, 7.0.0 - 7.0.20, 7.1.0 - 7.1.20, 7.2.0 - 7.2.33, 7.3.16 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
{"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.0.5, 5.1.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.3.11, 4.4.0 - 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

preferences:
231.62 ms | 401 KiB | 353 Q