Basic PHP Which of the following php statement/statements will store 111 in variable num?1. int $num = 111;2. int mum = 111;3. $num = 111;4. 111 = $num; Only 1 Only 3 Both 1 and 2 All of the mentioned Only 1 Only 3 Both 1 and 2 All of the mentioned ANSWER DOWNLOAD EXAMIANS APP
Basic PHP With the introduction of namespaces, the same function name can be used in multiple places. TRUE FALSE TRUE FALSE ANSWER DOWNLOAD EXAMIANS APP
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]);} AshleyBaleBlank Shrek AshleyBale ShrekBlank AshleyBaleBlank Shrek AshleyBale ShrekBlank ANSWER DOWNLOAD EXAMIANS APP
Basic PHP How does the identity operator === compare two values? 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 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 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 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 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP PHP does not support numbers written in hexadecimal, octal or scientific notation. False True False True ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the below symbols is a newline character? /r \r \n /n /r \r \n /n ANSWER DOWNLOAD EXAMIANS APP