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; 75 25 error 100 75 25 error 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;} GREETING greeting ERROR Welcome to Narnia GREETING greeting ERROR Welcome to Narnia ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function start($string){if ($string < 45)return 20;elsereturn 40;}$t = start(90);if ($t < 20){echo "Have a good day!";}else{echo "Have a good night!";} Have a good day! ERROR Have a good night! None of the mentioned Have a good day! ERROR Have a good night! None of the mentioned ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo "chr(52)"; 4 3 1 2 4 3 1 2 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function TV($string) {echo "my favourite TV show is ".$string;function b() {echo " I am here to spoil this code";}}function b() {echo " I am here to spoil this code";}b(); my favourite TV show isI am here to spoil this code I am here to spoil this code Error None of the mentioned my favourite TV show isI am here to spoil this code I am here to spoil this code Error None of the mentioned 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_peak_usage() get_memory_usage() get_usage() get_memory_peak_usage() get_peak_usage() get_memory_usage() get_usage() ANSWER DOWNLOAD EXAMIANS APP