<?php $arr = array(array('id' => 1, 'name' => 'fulano', 'email' => 'fulano@abc.com')); echo json_encode(...$arr);
Standard input is empty
{"id":1,"name":"fulano","email":"fulano@abc.com"}
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!