3v4l.org

run code in 300+ PHP versions simultaneously
<?php $starttime='1999-12-30T16:30:00'; echo $starttime . "\n\r"; echo 'start: ' . date('H:i:s', strtotime($starttime)) . "\n\r"; echo "\n\r"; $end = '1999-12-30T16:45:00'; echo $end . "\n\r"; echo 'end: ' . date('H:i:s',strtotime($end)); date_default_timezone_set('America/New_York'); $starttime='1899-12-30T16:30:00'; echo $starttime . "\n\r"; echo date('H:i:s', strtotime($starttime)) . "\n\r";
Output for git.master, git.master_jit, rfc.property-hooks
1999-12-30T16:30:00 start: 16:30:00 1999-12-30T16:45:00 end: 16:45:001899-12-30T16:30:00 16:30:00

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.72 ms | 401 KiB | 8 Q