Basic PHP Which of following variables can be assigned a value to it?1. $3hello2. $_hello3. $this4. $This 2 and 4 Only 2 2, 3 and 4 All of the mentioned 2 and 4 Only 2 2, 3 and 4 All of the mentioned ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Some PHP code might not have a namespace and therefore lives in the . . . . . . namespace. Global Automatic PRE Default Global Automatic PRE Default ANSWER DOWNLOAD EXAMIANS APP
Basic PHP String values must be enclosed in ...... none of above both A and B single quotes double quotes none of above both A and B single quotes double quotes ANSWER DOWNLOAD EXAMIANS APP
Basic PHP How does the identity operator === compare two values? It converts both values to strings and compares them If the two values are strings, it performs a lexical comparison 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 It converts both values to strings and compares them If the two values are strings, it performs a lexical comparison 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 PHP code?$user = array("Ashley", "Bale", "Shrek", "Blank");for ($x=0; $x < count($user); $x++){if ($user[$x] == "Shrek")continue;printf ($user[$x]);} ShrekBlank AshleyBale Shrek AshleyBaleBlank ShrekBlank AshleyBale Shrek AshleyBaleBlank 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 . . . . . . gibberish value an empty string 0 NULL gibberish value an empty string 0 NULL ANSWER DOWNLOAD EXAMIANS APP