Basic PHP What will be the output of the following PHP code?$score = 1234;$scoreboard = (array) $score;echo $scoreboard[0]; 1234 Error 2 1 1234 Error 2 1 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What is the limit of a PHP integer value? 16384 65536 1048576 2147483647 16384 65536 1048576 2147483647 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 converts both values to strings and compares them It converts them to a common compatible data type and then compares the resulting values It returns True only if they are both of the same type and value It bases its comparison on the C strcmp function exclusively If the two values are strings, it performs a lexical comparison It converts both values to strings and compares them It converts them to a common compatible data type and then compares the resulting values It returns True only if they are both of the same type and value It bases its comparison on the C strcmp function exclusively 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 BobMy name is Bob My name is Bob Bob My name is BobBob Error My name is BobMy name is Bob My name is Bob Bob My name is BobBob Error ANSWER DOWNLOAD EXAMIANS APP
Basic PHP If $a = 12 what will be returned when ($a == 12) ? 5 : 1 is executed? Error 1 12 5 Error 1 12 5 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the below namespace declaration is correct? namespace ORA: namespace ORA; namespace ORA_#; namespace 1_RA; namespace ORA: namespace ORA; namespace ORA_#; namespace 1_RA; ANSWER DOWNLOAD EXAMIANS APP