3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function Date2Number($date) { list($hours, $minutes, $seconds) = explode(":", $date); $minutes = $minutes / 60; return $hours.".".$minutes; } echo Date2Number("48:30:00"); ?>
based on ilUqk
Output for 4.3.0 - 7.2.0
48.0.5