3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $rowsResult; $quota = 10; $row = array(); $row["nb"] = 10; $rowsResultTmp = array(); array_push($rowsResultTmp, $row); //echo $rowsResultTmp[0]['nb']; if ( ($quota != 0 && $quota < $rowsResultTmp[0]['nb']) || $rowsResultTmp[0]['nb']==0) $rowsResult .= "&nbquota=".$quota; else $rowsResult .= "&nbquota=".$rowsResultTmp[0]['nb']; echo $rowsResult;
Output for 5.1.0 - 7.1.0
Notice: Undefined variable: rowsResult in /in/tPVYP on line 12 &nbquota=10
Output for 5.0.4 - 5.0.5
Notice: Undefined variable: rowsResult in /in/tPVYP on line 2 Notice: Undefined variable: rowsResult in /in/tPVYP on line 12 &nbquota=10
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: rowsResult in /in/tPVYP on line 2 Notice: Undefined variable: rowsResult in /in/tPVYP on line 12 &nbquota=10