PHP Functions strlen() returns the length of the string on success and . . . . if the string is empty. Garbage value NULL -1 0 Garbage value NULL -1 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions The arguments in a function are evaluated from ..... right to left Always right to left left to right sometimes left to right and sometimes right to left right to left Always right to left left to right sometimes left to right and sometimes right to left 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."); 2 None of the mentioned 4 5 2 None of the mentioned 4 5 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function 2myfunc(){echo "Hello World";}2myfunc(); None of the mentioned Hello World No Output ERROR None of the mentioned Hello World No Output ERROR ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?$x = 75;$y = 25;function addition(){$GLOBALS['z'] = $GLOBALS['x'] + $GLOBALS['y'];}addition();echo $z; error 75 100 25 error 75 100 25 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function foo($msg) {echo "$msg";}$var1 = "foo";$var1("will this work"); Error Will this work 0 $msg Error Will this work 0 $msg ANSWER DOWNLOAD EXAMIANS APP