3v4l.org

run code in 300+ PHP versions simultaneously
<?php $startTime = strtotime('2016-06-02 00:27:00'); echo $startTime; echo "\n\n"; $completeTime = strtotime('2016-06-02 00:55:42'); echo $completeTime; echo "\n\n"; $totalMins = (int)(abs($startTime - $completeTime) / 60); echo $totalMins; echo "\n\n"; $finalPrice = $totalMins * 2; echo $finalPrice;
Output for git.master, git.master_jit, rfc.property-hooks
1464820020 1464821742 28 56

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