3v4l.org

run code in 300+ PHP versions simultaneously
<?php // indicate the start date here $startdate = '2014-14-01'; // indicate the end date here $enddate = '2014-14-09'; $timestamp_start = strtotime($startdate); $timestamp_end = strtotime($enddate); $difference = abs($timestamp_end - $timestamp_start); // that's it! echo 'Seconds: '.$difference/86400;
Output for git.master, git.master_jit, rfc.property-hooks
Seconds: 0

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:
65.59 ms | 401 KiB | 8 Q