Basic PHP Which of the following php statement/statements will store 111 in variable num?1. int $num = 111;2. int mum = 111;3. $num = 111;4. 111 = $num; All of the mentioned Only 3 Both 1 and 2 Only 1 All of the mentioned Only 3 Both 1 and 2 Only 1 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$user = array("Ashley", "Bale", "Shrek", "Blank");for ($x=0; $x < count($user); $x++){if ($user[$x] == "Shrek")continue;printf ($user[$x]);} ShrekBlank AshleyBaleBlank Shrek AshleyBale ShrekBlank AshleyBaleBlank Shrek AshleyBale ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the following is not valid PHP code? ${“MyVar”} &$something $10_somethings $_10 $aVaR ${“MyVar”} &$something $10_somethings $_10 $aVaR ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the below symbols is a newline character? \r /r /n \n \r /r /n \n ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$color = "maroon";$var = $color[2];echo "$var"; r Error a $var r Error a $var ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the following is/are a PHP code editor?1. Notepad2. Notepad++3. Adobe Dreamweaver4. PDT All of the mentioned Only 3 1, 2 and 3 Only 4 All of the mentioned Only 3 1, 2 and 3 Only 4 ANSWER DOWNLOAD EXAMIANS APP