Basic PHP Which of the following is not valid PHP code? $aVaR &$something ${“MyVar”} $_10 $10_somethings $aVaR &$something ${“MyVar”} $_10 $10_somethings 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]);} AshleyBale Shrek AshleyBaleBlank ShrekBlank AshleyBale Shrek AshleyBaleBlank ShrekBlank ANSWER DOWNLOAD EXAMIANS APP
Basic PHP How does the identity operator === compare two values? 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 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 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 The value of __NAMESPACE__ is a string that contains the current namespace name. In global, un-namespaced code, it contains . . . . . . an empty string 0 gibberish value NULL an empty string 0 gibberish value NULL ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the below symbols is a newline character? /n \r /r \n /n \r /r \n ANSWER DOWNLOAD EXAMIANS APP