<?php var_dump(json_decode('{"param1":"any","param2":"string"}', true));
Standard input is empty
array(2) { ["param1"]=> string(3) "any" ["param2"]=> string(6) "string" }
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!