3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $re = array(); $rE['idsubevento']=1921; $rE['p19']='SI'; $rE['p20']='SI'; $rE['p21']='SI'; if($rE['idsubevento']==1921){ if($rE['p19']=='SI') $ventas++; if($rE['p20']=='SI') $ventas++; if($rE['p21']=='SI') $ventas++; } echo $ventas;
Output for 5.0.4 - 7.1.0
Notice: Undefined variable: ventas in /in/Vekmm on line 8 3
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: ventas in /in/Vekmm on line 8 3