Basic PHP Which of the below statements is equivalent to $add += $add ? $add = $add +$add $add = $add + $add + 1 $add = $add + 1 $add = $add $add = $add +$add $add = $add + $add + 1 $add = $add + 1 $add = $add ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the following PHP statements will output Hello World on the screen?1. echo (“Hello World”);2. print (“Hello World”);3. printf (“Hello World”);4. sprintf (“Hello World”); All of the mentioned 1, 2 and 3 1, 2 and 4 1 and 2 All of the mentioned 1, 2 and 3 1, 2 and 4 1 and 2 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Within a namespace, for accessing the built-in PHP classes you can prefix the class name with a . . . . . and let PHP look in the global class list. ampersand backslash asterix percent ampersand backslash asterix percent ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the following must be installed on your computer so as to run PHP script?1. Adobe Dreamweaver2. PHP3. Apache4. IIS Only 2 2 and 3 All of the mentioned. 2, 3 and 4 Only 2 2 and 3 All of the mentioned. 2, 3 and 4 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 BobMy name is Bob Error My name is Bob Bob My name is BobBob My name is BobMy name is Bob Error My name is Bob Bob My name is BobBob 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 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