3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "FROM TIMESTAMP, NO TZ:\n"; $date = new DateTime('@'.strtotime('2012-08-22 00:00:00 CEST')); echo $date->format('Y-m-d H:i:s T').' (offset '.$date->getOffset().")\n"; $date->modify('+0 days'); echo $date->format('Y-m-d H:i:s T').' (offset '.$date->getOffset().")\n"; ?>
Output for git.master, git.master_jit, rfc.property-hooks
FROM TIMESTAMP, NO TZ: 2012-08-21 22:00:00 GMT+0000 (offset 0) 2012-08-21 22:00:00 GMT+0000 (offset 0)

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:
47.34 ms | 401 KiB | 8 Q