3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php define(YEARGROUP, '10'); define(CYCLE, '3'); define(CYCLEFILTER, 'Y' . YEARGROUP . ' CYCLE ' . CYCLE); echo CYCLEFILTER; ?>
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Notice: Use of undefined constant YEARGROUP - assumed 'YEARGROUP' in /in/4ttlM on line 2 Notice: Use of undefined constant CYCLE - assumed 'CYCLE' in /in/4ttlM on line 3 Notice: Use of undefined constant CYCLEFILTER - assumed 'CYCLEFILTER' in /in/4ttlM on line 4 Y10 CYCLE 3