PHP Functions Returning values from functions may include ..... Both A & B Objects Arrays None of above Both A & B Objects Arrays None of above ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will happen in this function call?function calc($price, $tax) {$total = $price + $tax;}$pricetag = 15;$taxtag = 3;calc($pricetag, $taxtag); Type Hinting Default Argument Value Call By Value Call By Reference Type Hinting Default Argument Value Call By Value Call By Reference ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function addFunction($num1, $num2) {$sum = $num1 + $num2;return $sum;}$return_value = addFunction(10, 20);echo "Returned value from the function : $return_value" Returned value from the function : Returned value from the function : 30 Returned value from the function : $return_value Error Returned value from the function : Returned value from the function : 30 Returned value from the function : $return_value Error ANSWER DOWNLOAD EXAMIANS APP
PHP Functions strlen() returns the length of the string on success and . . . . if the string is empty. NULL 0 -1 Garbage value NULL 0 -1 Garbage value ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function movie($int){$movies = array("Fight Club", "Kill Bill", "Pulp Fiction");echo "You Do Not Talk About ". $movie[$integer];}movie(0); You Do Not Talk About Fight Club None of the mentioned I You Do Not Talk About Pulp Fiction You Do Not Talk About Fight Club None of the mentioned I You Do Not Talk About Pulp Fiction ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which one of the following functions can be used to compress a string? compress() gzcompress() zip() zip_compress() compress() gzcompress() zip() zip_compress() ANSWER DOWNLOAD EXAMIANS APP