3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php if ($result['printtotal'] != 0){ echo number_format($result['printtotal'],0 , "," , ".")." exemplaires"; } elseif ($result['diffusionGlob'] !=0) { echo number_format( $result['diffusionGlob'],0 , "," , ".")." exemplaires"; } else echo "<i>NR</i>"; ?>
Output for 5.0.4 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
Notice: Undefined variable: result in /in/SBhqh on line 2 Notice: Undefined variable: result in /in/SBhqh on line 5 <i>NR</i>
Output for hhvm-3.10.0
Notice: Undefined variable: result in /in/SBhqh on line 3 Notice: Undefined variable: result in /in/SBhqh on line -1 <i>NR</i>
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: result in /in/SBhqh on line 2 Notice: Undefined variable: result in /in/SBhqh on line 5 <i>NR</i>