PHP Functions What will be the output of the following PHP code ?function addFunction($num1, $num2){$sum = $num1 + $num2;return $sum;}$return_value = addFunction(10, 20);echo "Returned value from the function : " .$return_value Returned value from the function : Returned value from the function : $return_value Returned value from the function : 30 Error Returned value from the function : Returned value from the function : $return_value Returned value from the function : 30 Error ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Type Hinting was introduced in which version of PHP? PHP 5.3 PHP 4 PHP 5 PHP 6 PHP 5.3 PHP 4 PHP 5 PHP 6 ANSWER DOWNLOAD EXAMIANS APP
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 49 Sum Error 1 49 Sum ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function _func(){echo "Hello World";}_func(); No Output Hello World ERROR None of the mentioned No Output Hello World ERROR None of the mentioned ANSWER DOWNLOAD EXAMIANS APP
PHP Functions The below statement will return.$Var = substr(""abcdef"", -4, 1); returns "cd" returns "d" returns "c" returns "f" returns "cd" returns "d" returns "c" returns "f" ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?$str = "Hello World";echo wordwrap($str,5,"n"); World HelloWorld Hell 0 Wo rld Hello World World HelloWorld Hell 0 Wo rld Hello World ANSWER DOWNLOAD EXAMIANS APP