3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var $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.4.0 - 5.4.9
Parse error: syntax error, unexpected 'var' (T_VAR) in /in/llitb on line 2
Process exited with code 255.
Output for 5.3.0 - 5.3.19
Parse error: syntax error, unexpected T_VAR in /in/llitb on line 2
Process exited with code 255.