3v4l.org

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