3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ts = DateTime::createFromFormat('U', time('-93 minutes')); $now = new DateTime(); $diff = $now->diff($ts); echo $diff->format('h hours i minutes ago'), "\n";

preferences:
30.07 ms | 402 KiB | 5 Q