- var_export: documentation ( source)
- strtotime: documentation ( source)
<?php
$ts = DateTime::createFromFormat('U', strtotime('-9300 minutes'));
$now = new DateTime();
$diff = $now->diff($ts);
echo $diff->format('%h hours %i minutes ago'), "\n";
var_export($diff);