Basic PHP What will be the output of the following PHP code?$score = 1234;$scoreboard = (array) $score;echo $scoreboard[0]; Error 1 1234 2 Error 1 1234 2 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP The value of __NAMESPACE__ is a string that contains the current namespace name. In global, un-namespaced code, it contains . . . . . . gibberish value 0 an empty string NULL gibberish value 0 an empty string NULL ANSWER DOWNLOAD EXAMIANS APP
Basic PHP How does the identity operator === compare two values? If the two values are strings, it performs a lexical comparison 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 It converts both values to strings and compares them If the two values are strings, it performs a lexical comparison 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 It converts both values to strings and compares them ANSWER DOWNLOAD EXAMIANS APP
Basic PHP It is possible to create a hierarchy of namespaces in PHP. FALSE TRUE FALSE TRUE ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following php code?$num = "1";$num1 = "2";print $num+$num1; 3 1+2 Error 12 3 1+2 Error 12 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$total = "25 students";$more = 10;$total = $total + $more;echo "$total"; 25 students Error 35 students 35 25 students Error 35 students 35 ANSWER DOWNLOAD EXAMIANS APP