3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php define('Tree', 'oak'); echo 'This tree is '. tree;
Output for 7.2.6 - 7.3.0rc3
Warning: Use of undefined constant tree - assumed 'tree' (this will throw an Error in a future version of PHP) in /in/oaKXs on line 4 This tree is tree
Output for 5.3.21 - 7.1.20
Notice: Use of undefined constant tree - assumed 'tree' in /in/oaKXs on line 4 This tree is tree