run code in 300+ PHP versions simultaneously
<?php $date1 = date_create("12:45:00"); $date2 = date_create("11:00:00"); $diff=date_diff($date1,$date2); echo "Difference in Hours\n"; echo $diff->format("%R%H hours")."\n"; echo "Difference in Minutes\n"; echo $diff->format("%R%i minutes");
Output for git.master, git.master_jit, rfc.property-hooks
Difference in Hours -01 hours Difference in Minutes -45 minutes

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

44.91 ms | 401 KiB | 8 Q