PHP Functions What will be the output of the following PHP code?$op2 = "blabla"; function foo($op1) {echo $op1;echo $op2;}foo("hello"); hello helloblablablabla helloblabla Error hello helloblablablabla helloblabla Error ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function do($myString) {echo strpos($myString, "donkey",0);}do("The donkey looks like a horse."); None of the mentioned 5 2 4 None of the mentioned 5 2 4 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function b() {echo "b is executed";}function a(){b();echo "a is executed";b();}a(); b is executedb is executedb is executed b is executeda is executedb is executed a is executed b is executeda is executed b is executedb is executedb is executed b is executeda is executedb is executed a is executed b is executeda is executed 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 What will be the output of the following PHP code?echo strtr("Hilla Warld","ia","eo"); Hilla Warld eo ia Hello World Hilla Warld eo ia Hello World ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?define("GREETING","Hello you! How are you today?");echo constant("GREETING"); “GREETING”,”Hello you! How are you today?” GREETING Hello you! How are you today? GREETING, Hello you! How are you today? “GREETING”,”Hello you! How are you today?” GREETING Hello you! How are you today? GREETING, Hello you! How are you today? ANSWER DOWNLOAD EXAMIANS APP