<?php $data = [ 'id' => 1, 'content' => 'бла-бла-бла'];echo json_encode($data, JSON_UNESCAPED_UNICODE);
Standard input is empty
{"id":1,"content":"бла-бла-бла"}
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!