<?php $foo = null; $bar = json_decode($foo, true); var_dump($bar);
Standard input is empty
NULL
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!