3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(nil);
Output for 7.2.0 - 7.3.0beta1
Warning: Use of undefined constant nil - assumed 'nil' (this will throw an Error in a future version of PHP) in /in/Oq0I3 on line 3 string(3) "nil"
Output for 5.5.0 - 7.1.20
Notice: Use of undefined constant nil - assumed 'nil' in /in/Oq0I3 on line 3 string(3) "nil"