3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php if (strtotime(null) > 0 or 'incomplete' == 'completed' or '0' == 100) { echo 'test'; } else { echo 'null'; }
based on 08HVo
Output for 5.1.2 - 7.2.0
null
Output for 5.1.0 - 5.1.1
test
Output for 5.0.1 - 5.0.5
Warning: strtotime(): Called with an empty time parameter. in /in/WfFPA on line 3 null
Output for 4.3.2 - 5.0.0
Notice: strtotime(): Called with empty time parameter in /in/WfFPA on line 3 test
Output for 4.3.0 - 4.3.1
Notice: strtotime() [http://www.php.net/function.strtotime]: Called with empty time parameter in /in/WfFPA on line 3 test