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?$str = "Hello World";echo wordwrap($str,5,"n"); World Hello World Hell 0 Wo rld HelloWorld World Hello World Hell 0 Wo rld HelloWorld ANSWER DOWNLOAD EXAMIANS APP
PHP Functions strlen() returns the length of the string on success and . . . . if the string is empty. Garbage value 0 NULL -1 Garbage value 0 NULL -1 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will happen in this function call?function calc($price, $tax) {$total = $price + $tax;}$pricetag = 15;$taxtag = 3;calc($pricetag, $taxtag); Default Argument Value Call By Value Call By Reference Type Hinting Default Argument Value Call By Value Call By Reference Type Hinting 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;} ERROR greeting Welcome to Narnia GREETING ERROR greeting Welcome to Narnia GREETING 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 executeda is executedb is executed b is executeda is executed a is executed b is executedb is executedb is executed b is executeda is executedb is executed b is executeda is executed a is executed b is executedb is executedb is executed ANSWER DOWNLOAD EXAMIANS APP