3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $start = strtotime(date("Y-m-d","2012-01-01")); $today = strtotime(date("Y-m-d")); echo $today-$start;
Output for 5.1.0 - 5.6.28, 7.0.0 - 7.1.0
Notice: A non well formed numeric value encountered in /in/DHfaL on line 2 1377126000
Output for 4.3.0 - 5.0.5, hhvm-3.10.0 - 3.12.0
1377126000