PHP Functions What will be the output of the following PHP code?function a() {function b() {echo 'I am b';}echo 'I am a';}b();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 Above usleep() function pauses PHP for .usleep(1000000); 10 seconds 1 second 100 microseconds 1 microseconds 10 seconds 1 second 100 microseconds 1 microseconds ANSWER DOWNLOAD EXAMIANS APP
PHP Functions . . . . returns a new DateTime object. date_create() date_sunrise() getdate() date() date_create() date_sunrise() getdate() date() ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function addFunction($num1, $num2){$sum = $num1 + $num2;return $sum;}$return_value = addFunction(10, 20);echo "Returned value from the function : " .$return_value Returned value from the function : $return_value Returned value from the function : 30 Error Returned value from the function : Returned value from the function : $return_value Returned value from the function : 30 Error Returned value from the function : ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?$str = "Hello world. It's a beautiful day.";print_r (explode(" ",$str)); Array ( [0] => Hello [0] => world. [0] => It’s [0] => a [0] => beautiful [0] => day. ) Array ( [0] => Hello [1] => world. [2] => It’s [3] => a [4] => beautiful [5] => 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 [0] => world. [0] => It’s [0] => a [0] => beautiful [0] => day. ) Array ( [0] => Hello [1] => world. [2] => It’s [3] => a [4] => beautiful [5] => day. ) Array ( [1] => Hello [2] => world. [3] => It’s [4] => a [5] => beautiful [6] => day. ) Hello world. It’s a beautiful day ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo(atan(0.50)); 0.11845976421345 1 0.23568451142521 0.46364760900081 0.11845976421345 1 0.23568451142521 0.46364760900081 ANSWER DOWNLOAD EXAMIANS APP