PHP Functions What will be the output of the following PHP code?$str = "Hello world. It's a beautiful day.";print_r (explode(" ",$str)); Hello world. It’s a beautiful day Array ( [0] => Hello [1] => world. [2] => It’s [3] => a [4] => beautiful [5] => day. ) Array ( [0] => Hello [0] => world. [0] => It’s [0] => a [0] => beautiful [0] => day. ) Array ( [1] => Hello [2] => world. [3] => It’s [4] => a [5] => beautiful [6] => day. ) Hello world. It’s a beautiful day Array ( [0] => Hello [1] => world. [2] => It’s [3] => a [4] => beautiful [5] => day. ) Array ( [0] => Hello [0] => world. [0] => It’s [0] => a [0] => beautiful [0] => day. ) Array ( [1] => Hello [2] => world. [3] => It’s [4] => a [5] => beautiful [6] => day. ) ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo lcfirst("welcome to India"); welcome to india welcome to India Welcome to India Welcome to india welcome to india welcome to India Welcome to India Welcome to india ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Above usleep() function pauses PHP for .usleep(1000000); 100 microseconds 1 second 10 seconds 1 microseconds 100 microseconds 1 second 10 seconds 1 microseconds ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function 2myfunc(){echo "Hello World";}2myfunc(); Hello World No Output None of the mentioned ERROR Hello World No Output None of the mentioned ERROR ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo stripos("I love php, I love php too!","PHP"); 3 10 8 7 3 10 8 7 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); 0 Error 42 84 0 Error 42 84 ANSWER DOWNLOAD EXAMIANS APP