run code in 200+ php & hhvm versions
Bugs & Features
<?php $start = new DateTime('2012-10-25 00:00:00', new DateTimeZone('America/New_York')); $start->setTimeZone(new DateTimeZone('UTC')); echo $start->format('Y-m-d H:i:s'), PHP_EOL; $end = new DateTime('2012-10-25 23:59:59', new DateTimeZone('America/New_York')); $end->setTimeZone(new DateTimeZone('UTC')); echo $end->format('Y-m-d H:i:s');

Shows result from various feature-branches currently under review from the php developers. Contact me to have additional branches featured.

Output for Typed properties v2
2012-10-25 04:00:00 2012-10-26 03:59:59
Output for Array change keys
2012-10-25 04:00:00 2012-10-26 03:59:59
Output for Lexical anon
2012-10-25 04:00:00 2012-10-26 03:59:59

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