Basic PHP What will be the output of the following PHP code?$score = 1234;$scoreboard = (array) $score;echo $scoreboard[0]; 1234 Error 1 2 1234 Error 1 2 ANSWER DOWNLOAD EXAMIANS APP
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 1 Only 3 All of the mentioned Both 1 and 2 Only 1 Only 3 All of the mentioned Both 1 and 2 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP You can test the type of any variable with the ..... function. settype() showtype() gettype() whattype() settype() showtype() gettype() whattype() ANSWER DOWNLOAD EXAMIANS APP
Basic PHP PHP considers the following values as False the one-character string 0 the integer 0 constant NULL both A and B All of Above the one-character string 0 the integer 0 constant NULL both A and B All of Above 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 All of the mentioned 2, 3 and 4 Only 2 2 and 4 All of the mentioned 2, 3 and 4 Only 2 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the looping statements is/are supported by PHP?1. for loop2. while loop3. do-while loop4. foreach loop 1, 2 and 3 1 and 2 None of the mentioned All of the mentioned 1, 2 and 3 1 and 2 None of the mentioned All of the mentioned ANSWER DOWNLOAD EXAMIANS APP