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; Error 84 42 0 Error 84 42 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which of the following PHP functions can be used to get the current memory usage? get_memory_peak_usage() get_memory_usage() get_usage() get_peak_usage() get_memory_peak_usage() get_memory_usage() get_usage() get_peak_usage() ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?$x = 75;$y = 25;function addition(){$GLOBALS['z'] = $GLOBALS['x'] + $GLOBALS['y'];}addition();echo $z; error 25 75 100 error 25 75 100 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function constant(){define("GREETING", "Welcome to Narnia",true);echo greeting;} ERROR greeting GREETING Welcome to Narnia ERROR greeting GREETING Welcome to Narnia ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function a() {function b() {echo 'I am b';}echo 'I am a';}a();a(); I am b Error I am a Error I am bI am a I am b Error I am a Error I am bI am a ANSWER DOWNLOAD EXAMIANS APP
PHP Functions The arguments in a function are evaluated from ..... left to right sometimes left to right and sometimes right to left Always right to left right to left left to right sometimes left to right and sometimes right to left Always right to left right to left ANSWER DOWNLOAD EXAMIANS APP