Basic PHP What will be the output of the following PHP code?$score = 1234;$scoreboard = (array) $score;echo $scoreboard[0]; 2 1234 Error 1 2 1234 Error 1 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$a = "clue";$a .= "get";echo "$a"; true get false clueget true get false clueget ANSWER DOWNLOAD EXAMIANS APP
Basic PHP PHP ..... demand that you declare a data type when you create a variable. does does not does does not ANSWER DOWNLOAD EXAMIANS APP
Basic PHP You can test the type of any variable with the ..... function. showtype() whattype() settype() gettype() showtype() whattype() settype() gettype() ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following code?$foo = 'Bob';$bar = &$foo;$bar = "My name is $bar";echo $bar;echo $foo; My name is Bob Bob Error My name is BobBob My name is BobMy name is Bob My name is Bob Bob Error My name is BobBob My name is BobMy name is Bob ANSWER DOWNLOAD EXAMIANS APP
Basic PHP How does the identity operator === compare two values? It bases its comparison on the C strcmp function exclusively 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 returns True only if they are both of the same type and value It converts both values to strings and compares them It bases its comparison on the C strcmp function exclusively 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 returns True only if they are both of the same type and value It converts both values to strings and compares them ANSWER DOWNLOAD EXAMIANS APP