PHP Functions What will be the output of the following PHP code?echo stripos("I love php, I love php too!","PHP"); 8 10 3 7 8 10 3 7 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 ERROR greeting GREETING Welcome to Narnia ERROR greeting GREETING ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function movie($int){$movies = array("Fight Club", "Kill Bill", "Pulp Fiction");echo "You Do Not Talk About ". $movie[$integer];}movie(0); I None of the mentioned You Do Not Talk About Fight Club You Do Not Talk About Pulp Fiction I None of the mentioned You Do Not Talk About Fight Club You Do Not Talk About Pulp Fiction ANSWER DOWNLOAD EXAMIANS APP
PHP Functions The below statement will return.$Var = substr(""abcdef"", -4, 1); returns "d" returns "cd" returns "f" returns "c" returns "d" returns "cd" returns "f" returns "c" ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function sum($num1, $num2) {$total = $num1 + $num2;echo "cos($total)";}sum(5,-5); 0.5 -0.5 1 0 0.5 -0.5 1 0 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!! I am awesome!! const “const”,”I am awesome!” const, I am awesome!! I am awesome!! const “const”,”I am awesome!” ANSWER DOWNLOAD EXAMIANS APP