3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php if ('1'){ echo strtotime(NULL); }
based on 0VItb
Output for 5.1.2 - 7.2.0
Output for 5.1.0 - 5.1.1
1431075847
Output for 5.0.1 - 5.0.5
Warning: strtotime(): Called with an empty time parameter. in /in/1M5u9 on line 3 -1
Output for 4.3.2 - 5.0.0
Notice: strtotime(): Called with empty time parameter in /in/1M5u9 on line 3 1431036000
Output for 4.3.1
Notice: strtotime() [http://www.php.net/function.strtotime]: Called with empty time parameter in /in/1M5u9 on line 3 1431036000
Output for 4.3.0
Notice: strtotime() [http://www.php.net/function.strtotime]: Called with empty time parameter in /in/1M5u9 on line 3 1441922400