3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ddtcounter1="2014-03-06 20:20:30"; $ddtcounter2="2014-03-07 21:20:30"; $today = new DateTime($ddtcounter2); $pastDate = $today->diff(new DateTime($ddtcounter1)); echo $pastDate->i, $pastdate->h;
Output for git.master, git.master_jit, rfc.property-hooks
0 Warning: Undefined variable $pastdate in /in/bpsa1 on line 10 Warning: Attempt to read property "h" on null in /in/bpsa1 on line 10

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