Basic PHP What will be the output of the following PHP code?$score = 1234;$scoreboard = (array) $score;echo $scoreboard[0]; 2 1 1234 Error 2 1 1234 Error ANSWER DOWNLOAD EXAMIANS APP
Basic PHP How does the identity operator === compare two values? 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 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 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the below statements is equivalent to $add += $add ? $add = $add +$add $add = $add + 1 $add = $add $add = $add + $add + 1 $add = $add +$add $add = $add + 1 $add = $add $add = $add + $add + 1 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the following is not valid PHP code? ${“MyVar”} $_10 $10_somethings $aVaR &$something ${“MyVar”} $_10 $10_somethings $aVaR &$something ANSWER DOWNLOAD EXAMIANS APP
Basic PHP PHP does not support numbers written in hexadecimal, octal or scientific notation. True False True False ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What does PHP stand for?1. Personal Home Page2. Hypertext Preprocessor3. Pretext Hypertext Processor4. Preprocessor Home Page Only 2 Both 1 and 2 Both 1 and 3 Both 2 and 4 Only 2 Both 1 and 2 Both 1 and 3 Both 2 and 4 ANSWER DOWNLOAD EXAMIANS APP