PHP Functions What will be the output of the following PHP code ?function constant(){define("GREETING", "Welcome to Narnia",true);echo greeting;} GREETING Welcome to Narnia ERROR greeting GREETING Welcome to Narnia ERROR greeting ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function calc($num1, $num2){$total = $num1 * $num2;}$result = calc(42, 0);echo $result; 42 84 0 Error 42 84 0 Error ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which of the following PHP functions can be used to get the current memory usage? get_memory_usage() get_usage() get_peak_usage() get_memory_peak_usage() get_memory_usage() get_usage() get_peak_usage() get_memory_peak_usage() 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"); helloblabla helloblablablabla hello error helloblabla helloblablablabla hello error ANSWER DOWNLOAD EXAMIANS APP
PHP Functions A function in PHP which starts with ______ (double underscore) is know as. User Defined Function Inbuilt Function Magic Function Default Function User Defined Function Inbuilt Function Magic Function Default Function 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); $num None of the mentioned 3 5 $num None of the mentioned 3 5 ANSWER DOWNLOAD EXAMIANS APP