3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $ventas = 0; $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 4.3.0 - 7.2.0
3