PHP Functions What will be the output of the following PHP code?function sum($num1, $num2) {$total = $num1 + $num2;echo "cos($total)";}sum(5,-5); 0 -0.5 1 0.5 0 -0.5 1 0.5 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions The arguments in a function are evaluated from ..... sometimes left to right and sometimes right to left right to left Always right to left left to right sometimes left to right and sometimes right to left right to left Always right to left left to right ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?$op2 = "blabla";function foo($op1) {echo $op1;echo $op2;}foo("hello"); helloblabla hello helloblablablabla error helloblabla hello helloblablablabla error ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function onespan>() {define("const","I am awesome!");echo constant("const");}one(); “const”,”I am awesome!” const, I am awesome!! const I am awesome!! “const”,”I am awesome!” const, I am awesome!! const I am awesome!! 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 ?function mine($m){if ($m < 0)echo "less than 0";if ($ >= 0)echo "Not True";}mine(0); Less Than 0 No Output None of the Mentioned Not True Less Than 0 No Output None of the Mentioned Not True ANSWER DOWNLOAD EXAMIANS APP