3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(constant('dsfosdfpodsof\dsf\sdfdsfsd\null')); var_dump(constant('dsfosdfpodsof\dsf\sdfdsfsd\NULL')); var_dump(constant('dsfosdfpodsof\dsf\sdfdsfsd\nuLL'));
based on eaUao
Output for 4.3.2 - 7.1.0
Warning: constant(): Couldn't find constant dsfosdfpodsof\dsf\sdfdsfsd\null in /in/kRGWt on line 3 NULL Warning: constant(): Couldn't find constant dsfosdfpodsof\dsf\sdfdsfsd\NULL in /in/kRGWt on line 4 NULL Warning: constant(): Couldn't find constant dsfosdfpodsof\dsf\sdfdsfsd\nuLL in /in/kRGWt on line 5 NULL
Output for 4.3.0 - 4.3.1
Warning: constant() [http://www.php.net/function.constant]: Couldn't find constant dsfosdfpodsof\dsf\sdfdsfsd\null in /in/kRGWt on line 3 NULL Warning: constant() [http://www.php.net/function.constant]: Couldn't find constant dsfosdfpodsof\dsf\sdfdsfsd\NULL in /in/kRGWt on line 4 NULL Warning: constant() [http://www.php.net/function.constant]: Couldn't find constant dsfosdfpodsof\dsf\sdfdsfsd\nuLL in /in/kRGWt on line 5 NULL