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 ); Both are 3 a is 3 and b is 4 a is 4 and b is 3 Both are 4 Both are 3 a is 3 and b is 4 a is 4 and b is 3 Both are 4 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Under what circumstance is it impossible to assign a default value to a parameter while declaring a function? When the function is being declared as a member of a class When the function contains only one parameter When the parameter is Boolean Never When the parameter is being declared as passed by reference When the function is being declared as a member of a class When the function contains only one parameter When the parameter is Boolean Never When the parameter is being declared as passed by reference ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Some PHP code might not have a namespace and therefore lives in the . . . . . . namespace. Automatic PRE Default Global Automatic PRE Default Global ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following php code?$num = "1";$num1 = "2";print $num+$num1; Error 12 1+2 3 Error 12 1+2 3 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"; } I love arsenalI love mancI love manu Error I love arsenal I love arsenalI love manc I love arsenalI love mancI love manu Error I love arsenal I love arsenalI love manc ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Multiple namespaces cannot be defined in the same file. TRUE FALSE TRUE FALSE ANSWER DOWNLOAD EXAMIANS APP