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.5 1 0 -0.5 0.5 1 0 -0.5 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function test($int){if ($int == 1)echo "This Works";if ($int == 2)echo "This Too Seems To Work";}test(1);TEST(2); ERROR This Works This WorksThis Too Seems To Work This Too Seems To Work ERROR This Works This WorksThis Too Seems To Work This Too Seems To Work ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?$str = "Hello World";echo wordwrap($str,5,"n"); HelloWorld World Hell 0 Wo rld Hello World HelloWorld World Hell 0 Wo rld Hello World ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function a() {function b() {echo 'I am b';}echo 'I am a';}b();a(); I am b I am a Error I am bI am a Error I am b I am a Error I am bI am a 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 const, I am awesome!! I am awesome!! “const”,”I am awesome!” const const, I am awesome!! I am awesome!! “const”,”I am awesome!” ANSWER DOWNLOAD EXAMIANS APP
PHP Functions . . . . . converts the keys of an array into values and the values into keys. array_trans() array_transpose() array_flips() array_flip() array_trans() array_transpose() array_flips() array_flip() ANSWER DOWNLOAD EXAMIANS APP