3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php define("DATA_PATH;", __FILE__.'haha'); echo DATA_PATH;
based on td8D4
Output for 7.2.0
Warning: Use of undefined constant DATA_PATH - assumed 'DATA_PATH' (this will throw an Error in a future version of PHP) in /in/sTJCK on line 3 DATA_PATH
Output for 5.3.22 - 7.1.10
Notice: Use of undefined constant DATA_PATH - assumed 'DATA_PATH' in /in/sTJCK on line 3 DATA_PATH