Basic PHP What will be the output of the following PHP code?$a = 5;$b = 5;echo ($a === $b); 1 False Error 5 === 5 1 False Error 5 === 5 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$team = "arsenal";switch ($team) {case "manu":echo "I love man u";case "arsenal":echo "I love arsenal";case "manc":echo "I love manc"; } Error I love arsenalI love manc I love arsenalI love mancI love manu I love arsenal Error I love arsenalI love manc I love arsenalI love mancI love manu I love arsenal ANSWER DOWNLOAD EXAMIANS APP
Basic PHP With the introduction of namespaces, the same function name can be used in multiple places. FALSE TRUE FALSE TRUE ANSWER DOWNLOAD EXAMIANS APP
Basic PHP When a simple data type is casted to an array, an array is created with the original value in the first element. False True False True 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 3 and b is 4 a is 4 and b is 3 Both are 3 Both are 4 a is 3 and b is 4 a is 4 and b is 3 Both are 3 Both are 4 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Assigning the empty string (like ' ') to a variable automatically renders it empty. True False True False ANSWER DOWNLOAD EXAMIANS APP