Got a little overzealous in my merge, back out some dupe code
Add a unixtime test to tests/php/misc.php