3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $rowsResult; $quota = 0; $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 - 5.6.23, 7.0.0 - 7.1.0
Notice: Undefined variable: rowsResult in /in/5nb8p on line 12 &nbquota=10
Output for hhvm-3.10.0 - 3.12.0
Notice: Undefined variable: rowsResult in /in/5nb8p on line 2 &nbquota=10
Output for 5.0.4 - 5.0.5
Notice: Undefined variable: rowsResult in /in/5nb8p on line 2 Notice: Undefined variable: rowsResult in /in/5nb8p on line 12 &nbquota=10
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: rowsResult in /in/5nb8p on line 2 Notice: Undefined variable: rowsResult in /in/5nb8p on line 12 &nbquota=10