3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ts1 = strtotime(date('Y-m-d H:i:s')); $ts2 = strtotime('2014-05-06 12:20:06'); $seconds_diff = $ts1 - $ts2; $iNbDaysNotedAfterBuyingProject = ($seconds_diff/3600/ 24); echo round($iNbDaysNotedAfterBuyingProject, 0);
Output for git.master, git.master_jit, rfc.property-hooks
7

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