3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $json = <<<JSON a: { date: "2017-11-27 17:59:59.000000", timezone_type: 1, timezone: "+01:00" } JSON; echo $json; $obj = json_decode($json); var_dump(json_encode(new \DateTime));
Output for 7.1.6
a: { date: "2017-11-27 17:59:59.000000", timezone_type: 1, timezone: "+01:00" }string(86) "{"date":"2017-07-11 15:57:00.021735","timezone_type":3,"timezone":"Europe\/Amsterdam"}"