3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $re = array(); $rE['idsubevento']=1921; if($rE['idsubevento']==1921){ if($rE['p19']=='SI') $ventas++; if($rE['p20']=='SI') $ventas++; if($rE['p21']=='SI') $ventas++; } echo $ventas;
Output for 5.3.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
Notice: Undefined index: p19 in /in/WHOgF on line 5 Notice: Undefined index: p20 in /in/WHOgF on line 6 Notice: Undefined index: p21 in /in/WHOgF on line 7 Notice: Undefined variable: ventas in /in/WHOgF on line 10
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.0.4 - 5.2.17
Notice: Undefined index: p19 in /in/WHOgF on line 5 Notice: Undefined index: p20 in /in/WHOgF on line 6 Notice: Undefined index: p21 in /in/WHOgF on line 7 Notice: Undefined variable: ventas in /in/WHOgF on line 10
Output for 4.3.0 - 5.0.3
Notice: Undefined index: p19 in /in/WHOgF on line 5 Notice: Undefined index: p20 in /in/WHOgF on line 6 Notice: Undefined index: p21 in /in/WHOgF on line 7 Notice: Undefined variable: ventas in /in/WHOgF on line 10