PHP Functions Which one of the following functions can be used to compress a string? zip() zip_compress() gzcompress() compress() zip() zip_compress() gzcompress() compress() ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function 2myfunc(){echo "Hello World";}2myfunc(); No Output Hello World None of the mentioned ERROR No Output Hello World None of the mentioned ERROR ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which of the following are valid function names?1. function()2. €()3. .function()4. $function() All of the mentioned Only 2 None of the mentioned 3 and 4 All of the mentioned Only 2 None of the mentioned 3 and 4 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function constant(){define("GREETING", "Welcome to Narnia");echo greeting;} Welcome to Narnia GREETING ERROR greeting Welcome to Narnia GREETING ERROR greeting 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();TV("Sherlock"); None of the mentioned I am here to spoil this code Error My favourite TV show isI am here to spoil this code None of the mentioned I am here to spoil this code Error My favourite TV show isI am here to spoil this code ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function onespan>() {define("const","I am awesome!");echo constant("const");}one(); const, I am awesome!! const “const”,”I am awesome!” I am awesome!! const, I am awesome!! const “const”,”I am awesome!” I am awesome!! ANSWER DOWNLOAD EXAMIANS APP