Basic PHP What does PHP stand for?1. Personal Home Page2. Hypertext Preprocessor3. Pretext Hypertext Processor4. Preprocessor Home Page Both 1 and 3 Both 2 and 4 Both 1 and 2 Only 2 Both 1 and 3 Both 2 and 4 Both 1 and 2 Only 2 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following php code?$num = 1;$num1 = 2;print $num . "+". $num1; 1+2 Error 3 1.+.2 1+2 Error 3 1.+.2 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP As the namespace size grows, using namespaces can become a little repetitious, but PHP also provides the . . . . . statement, which allows you to alias a specific namespace. grant label use php grant label use php 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 AshleyBaleBlank Shrek AshleyBale ShrekBlank AshleyBaleBlank Shrek AshleyBale ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What is the value of $a and $b after the function call?function doSomething( &$arg ) {$return = $arg;$arg += 1;return $return;}$a = 3;$b = doSomething( $a ); a is 4 and b is 3 a is 3 and b is 4 Both are 4 Both are 3 a is 4 and b is 3 a is 3 and b is 4 Both are 4 Both are 3 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Multiple namespaces cannot be defined in the same file. TRUE FALSE TRUE FALSE ANSWER DOWNLOAD EXAMIANS APP