Basic PHP What will be the output of the following PHP code?$user = array("Ashley", "Bale", "Shrek", "Blank");for ($x=0; $x < count($user); $x++){if ($user[$x] == "Shrek")continue;printf ($user[$x]);} Shrek AshleyBale AshleyBaleBlank ShrekBlank Shrek AshleyBale AshleyBaleBlank ShrekBlank ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which version of PHP introduced Try/catch Exception? PHP 4 PHP 6 PHP 5.3 PHP 5 PHP 4 PHP 6 PHP 5.3 PHP 5 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$a = "clue";$a .= "get";echo "$a"; get true false clueget get true false clueget ANSWER DOWNLOAD EXAMIANS APP
Basic PHP How does the identity operator === compare two values? It converts them to a common compatible data type and then compares the resulting values It bases its comparison on the C strcmp function exclusively 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 converts them to a common compatible data type and then compares the resulting values It bases its comparison on the C strcmp function exclusively 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
Basic PHP If you echo a Boolean variable, the value FALSE displays as a .... and the value TRUE echoes as a ..... blank string, 2 blank string, 1 0, 1 empty variable, 1 blank string, 2 blank string, 1 0, 1 empty variable, 1 ANSWER DOWNLOAD EXAMIANS APP