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']; cho $rowsResult;
Output for 5.4.0 - 5.4.9
Parse error: syntax error, unexpected '$rowsResult' (T_VARIABLE) in /in/hGZbB on line 12
Process exited with code 255.
Output for 5.3.0 - 5.3.19
Parse error: syntax error, unexpected T_VARIABLE in /in/hGZbB on line 12
Process exited with code 255.