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; Only 3 Both 1 and 2 All of the mentioned Only 1 Only 3 Both 1 and 2 All of the mentioned Only 1 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the following is not valid PHP code? $10_somethings $aVaR &$something ${“MyVar”} $_10 $10_somethings $aVaR &$something ${“MyVar”} $_10 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP We can use _________ to comment a single line?1. /?2. //3. #4. /* */ 2, 3 and 4 Only 2 Both 2 and 4 1, 3 and 4 2, 3 and 4 Only 2 Both 2 and 4 1, 3 and 4 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$score = 1234;$scoreboard = (array) $score;echo $scoreboard[0]; 2 Error 1234 1 2 Error 1234 1 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of following variables can be assigned a value to it?1. $3hello2. $_hello3. $this4. $This 2 and 4 Only 2 All of the mentioned 2, 3 and 4 2 and 4 Only 2 All of the mentioned 2, 3 and 4 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP PHP considers the following values as False constant NULL All of Above both A and B the one-character string 0 the integer 0 constant NULL All of Above both A and B the one-character string 0 the integer 0 ANSWER DOWNLOAD EXAMIANS APP