PHP Functions What will be the output of the following PHP code?function sum($num1, $num2) {$total = $num1 + $num2;echo "chr($total)";}$var1 = "sum";$var1(5, 44); Error 1 Sum 49 Error 1 Sum 49 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions The below statement will return.$Var = substr(""abcdef"", -4, 1); returns "cd" returns "d" returns "f" returns "c" returns "cd" returns "d" returns "f" returns "c" ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?$str = "Hello World";echo wordwrap($str,5,"n"); Hello World HelloWorld World Hell 0 Wo rld Hello World HelloWorld World Hell 0 Wo rld ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?$var = 10;function one(){echo $var;}one(); 10 None of the Mentioned Error No Output 10 None of the Mentioned Error No Output ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function 2myfunc(){echo "Hello World";}2myfunc(); Hello World None of the mentioned No Output ERROR Hello World None of the mentioned No Output ERROR ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function do($myString) {echo strpos($myString, "donkey",0);}do("The donkey looks like a horse."); 2 5 None of the mentioned 4 2 5 None of the mentioned 4 ANSWER DOWNLOAD EXAMIANS APP