Basic PHP If you echo a Boolean variable, the value FALSE displays as a .... and the value TRUE echoes as a ..... blank string, 1 blank string, 2 0, 1 empty variable, 1 blank string, 1 blank string, 2 0, 1 empty variable, 1 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the conditional statements is/are supported by PHP?1. if statements2. if-else statements3. if-elseif statements4. switch statements 1, 2 and 4 All of the mentioned. 2, 3 and 4 Only 1 1, 2 and 4 All of the mentioned. 2, 3 and 4 Only 1 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 3 Both 1 and 2 Only 1 All of the mentioned Only 3 Both 1 and 2 Only 1 All of the mentioned ANSWER DOWNLOAD EXAMIANS APP
Basic PHP How does the identity operator === compare two values? It returns True only if they are both of the same type and value It converts them to a common compatible data type and then compares the resulting values If the two values are strings, it performs a lexical comparison It converts both values to strings and compares them It bases its comparison on the C strcmp function exclusively It returns True only if they are both of the same type and value It converts them to a common compatible data type and then compares the resulting values If the two values are strings, it performs a lexical comparison It converts both values to strings and compares them It bases its comparison on the C strcmp function exclusively ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the below statements is equivalent to $add += $add ? $add = $add $add = $add +$add $add = $add + 1 $add = $add + $add + 1 $add = $add $add = $add +$add $add = $add + 1 $add = $add + $add + 1 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the following is not valid PHP code? $aVaR $_10 $10_somethings ${“MyVar”} &$something $aVaR $_10 $10_somethings ${“MyVar”} &$something ANSWER DOWNLOAD EXAMIANS APP