3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $datestamp = date('Y-m-d'); $hours = substr($datestamp, 11, 2); $unixTimestamp = mktime($hours); $mbHours = substr($datestamp, 11, 2); $mbUnixTimestamp = mktime($mbHours);
Output for 4.3.0 - 7.2.0