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:
31.01 ms | 402 KiB | 5 Q