<?php $var1 = "Pedro"; $var2 = 'batatinha'; echo "{ \"cliente\":\"$var1\", \"prato\":\"$var2\" }";
Standard input is empty
{ "cliente":"Pedro", "prato":"batatinha" }
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!