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 Which one of the following is the right way of defining a function in PHP? function { function body } data type functionName(parameters) { function body } function fumctionName(parameters) { function body } functionName(parameters) { function body } function { function body } data type functionName(parameters) { function body } function fumctionName(parameters) { function body } functionName(parameters) { function body } ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function calc($price, $tax="") {$total = $price + ($price * $tax);echo "$total";}calc(42); 84 42 0 Error 84 42 0 Error ANSWER DOWNLOAD EXAMIANS APP
PHP Functions strlen() returns the length of the string on success and . . . . if the string is empty. -1 Garbage value 0 NULL -1 Garbage value 0 NULL ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which one of the following functions can be used to compress a string? zip() gzcompress() zip_compress() compress() zip() gzcompress() zip_compress() compress() 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"); error hello helloblabla helloblablablabla error hello helloblabla helloblablablabla ANSWER DOWNLOAD EXAMIANS APP