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 Which one of the following is the right way of defining a function in PHP? functionName(parameters) { function body } function fumctionName(parameters) { function body } function { function body } data type functionName(parameters) { function body } functionName(parameters) { function body } function fumctionName(parameters) { function body } function { function body } data type functionName(parameters) { function body } ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo lcfirst("welcome to my India"); welcome to my India Welcome to my India Welcome to my india welcome to my india welcome to my India Welcome to my India Welcome to my india welcome to my india 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); Sum 1 Error 49 Sum 1 Error 49 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which one of the following functions can be used to compress a string? gzcompress() zip() zip_compress() compress() gzcompress() zip() zip_compress() compress() ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo lcfirst("welcome to India"); welcome to india Welcome to india welcome to India Welcome to India welcome to india Welcome to india welcome to India Welcome to India ANSWER DOWNLOAD EXAMIANS APP