3v4l.org

run code in 200+ 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 - 7.3.0rc6
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 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>