3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $tempInicioTime = substr('2017-01-01 08:00:00', 11, 5); echo $tempInicioTime; $tempInicioTime = strtotime($tempInicioTime); echo $tempInicioTime; $tempFimTime = substr('12:00:00', 11, 5); $tempFimTime = strtotime($tempFimTime);
based on XbM66
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.2.0
08:001499061600