Basic PHP What will be the output of the following PHP code?$color = "maroon";$var = $color[2];echo "$var"; a Error $var r a Error $var r 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
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 AshleyBaleBlank AshleyBale ShrekBlank Shrek AshleyBaleBlank AshleyBale ShrekBlank ANSWER DOWNLOAD EXAMIANS APP
Basic PHP All classes in the same namespace or subnamespace don’t have to the declared in the same PHP file. TRUE FALSE TRUE FALSE ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Multiple namespaces cannot be defined in the same file. 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 . . . . . . gibberish value an empty string 0 NULL gibberish value an empty string 0 NULL ANSWER DOWNLOAD EXAMIANS APP