PHP Functions What will be the output of the following PHP code?echo ucwords("i love my country"); I Love My Country I love my country i love my Country I love my Country I Love My Country I love my country i love my Country I love my Country ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function uppercase($string) {echo ucwords($string);}$wow = "uppercase";$wow("Time to live king size"); Time To Live King Size Uppercase Time to live king size TIME TO LIVE KING SIZE Time To Live King Size Uppercase Time to live king size TIME TO LIVE KING SIZE ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function calc($num1, $num2){$total = $num1 * $num2;return $total; }$result = calc(42, 0);echo $result; 84 0 42 Error 84 0 42 Error 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"); hello helloblabla helloblablablabla error hello helloblabla helloblablablabla error ANSWER DOWNLOAD EXAMIANS APP
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.5 0 0.5 1 -0.5 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo ord ("hi"); 104 103 106 209 104 103 106 209 ANSWER DOWNLOAD EXAMIANS APP