3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $questions .=' <div class="radio"> '; foreach($values_data as $ke=>$va) { $questions.=' <div><input '.$tooltip.' type="radio" id="question_'.$i.'_'.$va['value'].'" value="'.$va['value'].'" name="question_'.$i.'" /> <span class="inline">'.$va['value'].'</span></div> '; } $questions .=' </div> <div class="clear"></div> '; echo $questions;
Output for 5.1.0 - 7.1.0
Notice: Undefined variable: questions in /in/IIZYG on line 4 Notice: Undefined variable: values_data in /in/IIZYG on line 6 Warning: Invalid argument supplied for foreach() in /in/IIZYG on line 6 <div class="radio"> </div> <div class="clear"></div>
Output for 5.0.4 - 5.0.5
Notice: Undefined variable: questions in /in/IIZYG on line 2 Warning: Invalid argument supplied for foreach() in /in/IIZYG on line 6 <div class="radio"> </div> <div class="clear"></div>
Output for 4.3.0 - 4.3.10, 4.4.0 - 5.0.3
Notice: Undefined variable: questions in /in/IIZYG on line 2 Warning: Invalid argument supplied for foreach() in /in/IIZYG on line 6 <div class="radio"> </div> <div class="clear"></div>
Output for 4.3.11
Notice: Undefined variable: questions in /in/IIZYG on line 2 <div class="radio"> </div> <div class="clear"></div>