Basic PHP What will be the output of the following php code?$num = 1;$num1 = 2;print $num . "+". $num1; Error 1.+.2 1+2 3 Error 1.+.2 1+2 3 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 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 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Multiple namespaces cannot be defined in the same file. FALSE TRUE FALSE TRUE ANSWER DOWNLOAD EXAMIANS APP
Basic PHP strval() Accepts a value and converts it into string equivalent None of above Accepts a value and converts it into a string array Accepts a value and converts it into an string dictionary Accepts a value and converts it into string equivalent None of above Accepts a value and converts it into a string array Accepts a value and converts it into an string dictionary ANSWER DOWNLOAD EXAMIANS APP
Basic PHP PHP files have a default file extension of_______. .xml .ph .html .php .xml .ph .html .php ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the following is not valid PHP code? $10_somethings $aVaR ${“MyVar”} $_10 &$something $10_somethings $aVaR ${“MyVar”} $_10 &$something ANSWER DOWNLOAD EXAMIANS APP