3v4l.org

run code in 300+ PHP versions simultaneously
<?php $firstDate = strtotime('2018/01/24 08:45'); $secondDate = strtotime('2018/01/24 08:46'); var_dump($firstDate - $secondDate);

preferences:
49.81 ms | 402 KiB | 5 Q