run code in 200+ php & hhvm versions
Bugs & Features
<?php $userTimezone = new DateTimeZone('Europe/Chisinau'); $from = new DateTime( 'now' ); $from->modify( 'first day of this month' ); $from->setTime(0,0,0); // $from->setTimezone( new DateTimeZone( 'UTC' ) ); $from2 = clone $from; $mongoTime = $from2->getTimestamp(); var_dump($from->format('Y-m-d H:i:s'), $from2->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.

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