3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = new \DateTime(); $date->setDate(2014, 1, 1); print_r($date->modify('last day of this year'));
Output for git.master
DateTime Object ( [date] => 2014-01-31 11:36:39.003579 [timezone_type] => 3 [timezone] => Europe/Amsterdam )
Output for git.master_jit
DateTime Object ( [date] => 2014-01-31 11:36:39.003702 [timezone_type] => 3 [timezone] => Europe/Amsterdam )
Output for rfc.property-hooks
DateTime Object ( [date] => 2014-01-31 11:36:39.003539 [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:
61.07 ms | 401 KiB | 8 Q