3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $date = strtotime(date('Y-d-m H:i:s', '2014-02-05 5:22:35')); $now = time(); echo round(abs($now - $date) / 60,2). " minutes ago";
Output for 5.1.0 - 7.2.0
Notice: A non well formed numeric value encountered in /in/NqhY7 on line 3 23315255.28 minutes ago
Output for 4.3.0 - 5.0.5
23315255.28 minutes ago