3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $x = time(); echo date('d-m-Y H:i', $x); $a = strtotime('2013-11-14T19:00:00'); echo ($x-$a)/60;
Output for 5.0.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
14-11-2013 23:44284.11666666667
Output for 4.3.5 - 4.4.9
14-11-2013 23:44-195.88333333333
Output for 4.3.0 - 4.3.4
14-11-2013 23:44644.11666666667