3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(strtotime(null));
Output for 5.1.2 - 5.6.30, hhvm-3.10.1, 7.0.0 - 7.2.0
bool(false)
Output for hhvm-3.13.2 - 3.17.3
Warning: strtotime() expects parameter 1 to be string, null given in /in/RKcGc on line 2 bool(false)
Output for hhvm-3.11.1 - 3.12.14

Process exited with code 137.
Output for 5.1.0 - 5.1.1
int(1490684995)
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(1490652000)
Output for 4.3.0 - 4.3.1
Notice: strtotime() [http://www.php.net/function.strtotime]: Called with empty time parameter in /in/RKcGc on line 2 int(1490652000)