3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php if (strtotime(null) > 0) { echo test; }
based on V7c88
Output for 5.1.2 - 7.2.0
Output for 5.1.0 - 5.1.1
Notice: Use of undefined constant test - assumed 'test' in /in/T9nOU on line 4 test
Output for 5.0.1 - 5.0.5
Warning: strtotime(): Called with an empty time parameter. in /in/T9nOU on line 3
Output for 4.3.2 - 5.0.0
Notice: strtotime(): Called with empty time parameter in /in/T9nOU on line 3 Notice: Use of undefined constant test - assumed 'test' in /in/T9nOU on line 4 test
Output for 4.3.0 - 4.3.1
Notice: strtotime() [http://www.php.net/function.strtotime]: Called with empty time parameter in /in/T9nOU on line 3 Notice: Use of undefined constant test - assumed 'test' in /in/T9nOU on line 4 test