3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?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;
based on RT2hj
Output for 5.5.0 - 7.3.0beta1
1464820020 1464821742 28 56