3v4l.org

run code in 150+ 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 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.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, hhvm-3.10.0
23315255.28 minutes ago