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. php label use grant php label use grant 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 ); Both are 4 a is 3 and b is 4 Both are 3 a is 4 and b is 3 Both are 4 a is 3 and b is 4 Both are 3 a is 4 and b is 3 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the conditional statements is/are supported by PHP?1. if statements2. if-else statements3. if-elseif statements4. switch statements 1, 2 and 4 Only 1 2, 3 and 4 All of the mentioned. 1, 2 and 4 Only 1 2, 3 and 4 All of the mentioned. ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following code?$foo = 'Bob';$bar = &$foo;$bar = "My name is $bar";echo $bar;echo $foo; My name is BobBob Error My name is Bob Bob My name is BobMy name is Bob My name is BobBob Error My name is Bob Bob My name is BobMy name is Bob ANSWER DOWNLOAD EXAMIANS APP
Basic PHP You can test the type of any variable with the ..... function. showtype() whattype() settype() gettype() showtype() whattype() settype() gettype() ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the below statements is equivalent to $add += $add ? $add = $add $add = $add + $add + 1 $add = $add +$add $add = $add + 1 $add = $add $add = $add + $add + 1 $add = $add +$add $add = $add + 1 ANSWER DOWNLOAD EXAMIANS APP