3v4l.org

run code in 300+ PHP versions simultaneously
<?php function dumpMappedRow($mappedRow) { var_dump([ 'created' => $mappedRow['created']->format(DateTime::ISO8601), 'modified' => $mappedRow['modified']->format(DateTime::ISO8601) ]); } $date = new DateTime(); $mappedRow['created'] = $date; $mappedRow['modified'] = $date; dumpMappedRow($mappedRow); $mappedRow['modified']->setDate("2015", "11", "15"); dumpMappedRow($mappedRow);
Output for git.master, git.master_jit, rfc.property-hooks
array(2) { ["created"]=> string(24) "2015-09-24T21:15:08+0200" ["modified"]=> string(24) "2015-09-24T21:15:08+0200" } array(2) { ["created"]=> string(24) "2015-11-15T21:15:08+0100" ["modified"]=> string(24) "2015-11-15T21:15:08+0100" }

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:
55.28 ms | 402 KiB | 8 Q