3v4l.org

run code in 300+ PHP versions simultaneously
<?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 git.master
a: { date: "2017-11-27 17:59:59.000000", timezone_type: 1, timezone: "+01:00" }string(86) "{"date":"2017-07-11 15:57:00.003671","timezone_type":3,"timezone":"Europe\/Amsterdam"}"
Output for git.master_jit
a: { date: "2017-11-27 17:59:59.000000", timezone_type: 1, timezone: "+01:00" }string(86) "{"date":"2017-07-11 15:57:00.003828","timezone_type":3,"timezone":"Europe\/Amsterdam"}"
Output for rfc.property-hooks
a: { date: "2017-11-27 17:59:59.000000", timezone_type: 1, timezone: "+01:00" }string(86) "{"date":"2017-07-11 15:57:00.003542","timezone_type":3,"timezone":"Europe\/Amsterdam"}"

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
49.3 ms | 401 KiB | 8 Q