3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = new DateTime(); $checkInDate = $date->modify('+180 day'); $checkOutDate = $date->modify('+185 day'); print_r($date );
Output for git.master
DateTime Object ( [date] => 2014-12-17 22:42:31.003688 [timezone_type] => 3 [timezone] => Europe/Amsterdam )
Output for git.master_jit
DateTime Object ( [date] => 2014-12-17 22:42:31.003872 [timezone_type] => 3 [timezone] => Europe/Amsterdam )
Output for rfc.property-hooks
DateTime Object ( [date] => 2014-12-17 22:42:31.003850 [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:
43.87 ms | 401 KiB | 8 Q