3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $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.5.0 - 7.1.0
Notice: Undefined variable: rowsResult in /in/XfeKC on line 11 &nbquota=10
Output for 4.3.0 - 5.4.45
&nbquota=10