3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo 'Non defined: '; if ((!URL_REWRITING_ALL) || !defined('URL_REWRITING_ALL')) { echo 'A'; } else { echo 'B'; }
Output for 7.2.0
Non defined: Warning: Use of undefined constant URL_REWRITING_ALL - assumed 'URL_REWRITING_ALL' (this will throw an Error in a future version of PHP) in /in/ne80v on line 3 A
Output for 4.3.0 - 7.1.10
Non defined: Notice: Use of undefined constant URL_REWRITING_ALL - assumed 'URL_REWRITING_ALL' in /in/ne80v on line 3 A