PHP Functions strlen() returns the length of the string on success and . . . . if the string is empty. 0 Garbage value -1 NULL 0 Garbage value -1 NULL ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function a() {function b() {echo 'I am b';}echo 'I am a';}a();a(); I am bI am a I am b I am a Error Error I am bI am a I am b I am a Error Error 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); Call By Value Type Hinting Default Argument Value Call By Reference Call By Value Type Hinting Default Argument Value Call By Reference ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function 2myfunc(){echo "Hello World";}2myfunc(); No Output ERROR Hello World None of the mentioned No Output ERROR Hello World None of the mentioned 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 4 2 5 None of the mentioned 4 2 5 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function calc($price, $tax="") {$total = $price + ($price * $tax);echo "$total";}calc(42); 84 0 Error 42 84 0 Error 42 ANSWER DOWNLOAD EXAMIANS APP