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($checkInDate );
Output for git.master
DateTime Object ( [date] => 2014-12-17 22:41:38.003930 [timezone_type] => 3 [timezone] => Europe/Amsterdam )
Output for git.master_jit
DateTime Object ( [date] => 2014-12-17 22:41:38.003929 [timezone_type] => 3 [timezone] => Europe/Amsterdam )
Output for rfc.property-hooks
DateTime Object ( [date] => 2014-12-17 22:41:38.004097 [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:
40.58 ms | 401 KiB | 8 Q