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 Bob Bob My name is BobBob 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 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the below statements is equivalent to $add += $add ? $add = $add $add = $add +$add $add = $add + 1 $add = $add + $add + 1 $add = $add $add = $add +$add $add = $add + 1 $add = $add + $add + 1 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following php code?$num = 1;$num1 = 2;print $num . "+". $num1; 3 1.+.2 Error 1+2 3 1.+.2 Error 1+2 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP strval() Accepts a value and converts it into an string dictionary Accepts a value and converts it into a string array None of above Accepts a value and converts it into string equivalent Accepts a value and converts it into an string dictionary Accepts a value and converts it into a string array None of above Accepts a value and converts it into string equivalent ANSWER DOWNLOAD EXAMIANS APP
Basic PHP If you echo a Boolean variable, the value FALSE displays as a .... and the value TRUE echoes as a ..... empty variable, 1 blank string, 2 0, 1 blank string, 1 empty variable, 1 blank string, 2 0, 1 blank string, 1 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$color = "maroon";$var = $color[2];echo "$var"; $var Error a r $var Error a r ANSWER DOWNLOAD EXAMIANS APP