3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $c=<<<CODE <?php $c=<<<CODE %s CODE; printf($c, $c); CODE; printf($c, $c);
Output for 5.0.4 - 5.1.1, 5.1.3 - 5.2.2, 7.0.0 - 7.1.0
Notice: Undefined variable: c in /in/ZloOP on line 4 <?php =<<<CODE <?php =<<<CODE %s Notice: Use of undefined constant CODE - assumed 'CODE' in /in/ZloOP on line 8 <?php =<<<CODE <?php =<<<CODE %s
Output for 5.2.3 - 5.6.28
Notice: Undefined variable: c in /in/ZloOP on line 5 <?php =<<<CODE <?php =<<<CODE %s Notice: Use of undefined constant CODE - assumed 'CODE' in /in/ZloOP on line 8 <?php =<<<CODE <?php =<<<CODE %s
Output for 5.1.2
Notice: Undefined variable: c in /in/ZloOP on line 4 <?php =<<<CODE <?php =<<<CODE %s Notice: Use of undefined constant CODE - assumed 'CODE' in /in/ZloOP on line 9 <?php =<<<CODE <?php =<<<CODE %s
Output for 4.3.0 - 4.4.1, 4.4.3 - 5.0.3
Notice: Undefined variable: c in /in/ZloOP on line 4 <?php =<<<CODE <?php =<<<CODE %s Notice: Use of undefined constant CODE - assumed 'CODE' in /in/ZloOP on line 8 <?php =<<<CODE <?php =<<<CODE %s
Output for 4.4.2
Notice: Undefined variable: c in /in/ZloOP on line 4 <?php =<<<CODE <?php =<<<CODE %s Notice: Use of undefined constant CODE - assumed 'CODE' in /in/ZloOP on line 9 <?php =<<<CODE <?php =<<<CODE %s