PHP Functions Which one of the following is the right way of defining a function in PHP? function fumctionName(parameters) { function body } data type functionName(parameters) { function body } function { function body } functionName(parameters) { function body } function fumctionName(parameters) { function body } data type functionName(parameters) { function body } function { function body } functionName(parameters) { function body } 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 What will be the output of the following PHP code?$op2 = "blabla"; function foo($op1) {echo $op1;echo $op2;}foo("hello"); helloblablablabla helloblabla hello Error helloblablablabla helloblabla hello Error ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which one of the following PHP functions can be used to find files? get_file() glob() file() fold() get_file() glob() file() fold() ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo "chr(52)"; 1 4 2 3 1 4 2 3 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which of the following PHP functions can be used to get the current memory usage? get_peak_usage() get_memory_usage() get_usage() get_memory_peak_usage() get_peak_usage() get_memory_usage() get_usage() get_memory_peak_usage() ANSWER DOWNLOAD EXAMIANS APP