3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(strtotime(null));
Output for 5.1.2 - 7.1.0
bool(false)
Output for 5.1.0 - 5.1.1
int(1409570183)
Output for 5.0.1 - 5.0.5
Warning: strtotime(): Called with an empty time parameter. in /in/RKcGc on line 2 int(-1)
Output for 4.3.2 - 5.0.0
Notice: strtotime(): Called with empty time parameter in /in/RKcGc on line 2 int(1409522400)
Output for 4.3.1
Notice: strtotime() [http://www.php.net/function.strtotime]: Called with empty time parameter in /in/RKcGc on line 2 int(1409522400)
Output for 4.3.0
Notice: strtotime() [http://www.php.net/function.strtotime]: Called with empty time parameter in /in/RKcGc on line 2 int(1442786400)