PHP Functions Which one of the following is the right way of defining a function in PHP? functionName(parameters) { function body } function { function body } function fumctionName(parameters) { function body } data type functionName(parameters) { function body } functionName(parameters) { function body } function { function body } function fumctionName(parameters) { function body } data type functionName(parameters) { function body } ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function mine($num){$num = 2 + $num;echo $num;}mine(3); 5 3 $num None of the mentioned 5 3 $num None of the mentioned ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?$str = addslashes('What does "yolo" mean?');echo($str); What does /”yolo/” mean? What does ”yolo” mean? What does ”yolo” mean? What does ”yolo” mean? What does /”yolo/” mean? What does ”yolo” mean? What does ”yolo” mean? What does ”yolo” mean? ANSWER DOWNLOAD EXAMIANS APP
PHP Functions strlen() returns the length of the string on success and . . . . if the string is empty. NULL Garbage value 0 -1 NULL Garbage value 0 -1 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function sayHello() {echo "HelloWorld";}$function_holder = "sayHello";$function_holder(); HelloWorld sayHello No Output Error HelloWorld sayHello No Output Error ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo "chr(52)"; 4 1 3 2 4 1 3 2 ANSWER DOWNLOAD EXAMIANS APP