PHP Functions What will be the output of the following PHP code?function a() {function b() {echo 'I am b';}echo 'I am a';}b();a(); I am bI am a I am b Error I am a Error I am bI am a I am b Error I am a Error 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;} Welcome to Narnia GREETING greeting ERROR Welcome to Narnia GREETING greeting ERROR 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(); 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 my favourite TV show isI am here to spoil this code I am here to spoil this code Error ANSWER DOWNLOAD EXAMIANS APP
PHP Functions It is always necessary to use parentheses with the print function. True False True False 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
PHP Functions The below statement will return.$Var = substr(""abcdef"", -4, 1); returns "f" returns "c" returns "d" returns "cd" returns "f" returns "c" returns "d" returns "cd" ANSWER DOWNLOAD EXAMIANS APP