PHP Functions What will be the output of the following PHP code?function onespan>() {define("const","I am awesome!");echo constant("const");}one(); const const, I am awesome!! “const”,”I am awesome!” I am awesome!! const const, I am awesome!! “const”,”I am awesome!” I am awesome!! 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 Error My favourite TV show isI am here to spoil this code I am here to spoil this code None of the mentioned Error My favourite TV show isI am here to spoil this code I am here to spoil this code ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo ord ("hi"); 103 209 106 104 103 209 106 104 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function mine($m){if ($m < 0)echo "less than 0";if ($ >= 0)echo "Not True";}mine(0); None of the Mentioned No Output Less Than 0 Not True None of the Mentioned No Output Less Than 0 Not True 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 night! None of the mentioned ERROR Have a good day! Have a good night! None of the mentioned ERROR Have a good day! ANSWER DOWNLOAD EXAMIANS APP
PHP Functions The below statement will return.$Var = substr(""abcdef"", -4, 1); returns "c" returns "d" returns "cd" returns "f" returns "c" returns "d" returns "cd" returns "f" ANSWER DOWNLOAD EXAMIANS APP