Basic PHP If you echo a Boolean variable, the value FALSE displays as a .... and the value TRUE echoes as a ..... blank string, 1 0, 1 blank string, 2 empty variable, 1 blank string, 1 0, 1 blank string, 2 empty variable, 1 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP When a simple data type is casted to an array, an array is created with the original value in the first element. False True False True ANSWER DOWNLOAD EXAMIANS APP
Basic PHP If $a = 12 what will be returned when ($a == 12) ? 5 : 1 is executed? 5 Error 1 12 5 Error 1 12 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$score = 1234;$scoreboard = (array) $score;echo $scoreboard[0]; 1 1234 2 Error 1 1234 2 Error ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following code?function track() {static $count = 0;$count++;echo $count;}track();track();track(); 111 011 000 123 111 011 000 123 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 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 If the two values are strings, it performs a lexical comparison It bases its comparison on the C strcmp function exclusively 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 If the two values are strings, it performs a lexical comparison ANSWER DOWNLOAD EXAMIANS APP