PHP Functions Above usleep() function pauses PHP for .usleep(1000000); 100 microseconds 1 microseconds 10 seconds 1 second 100 microseconds 1 microseconds 10 seconds 1 second 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); Error 84 42 0 Error 84 42 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function TV($string){echo "my favourite TV show is ".$string;function b() {echo " I am here to spoil this code";}}a("Sherlock");b(); Error my favourite TV show is SherlockI am here ro spoil this code None of the mentioned I am here to spoil this code Error my favourite TV show is SherlockI am here ro spoil this code None of the mentioned I am here to spoil this code ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function constant(){define("GREETING", "Welcome to Narnia");echo greeting;} Welcome to Narnia greeting ERROR GREETING Welcome to Narnia greeting ERROR GREETING ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function start($string){if ($string < 45)return 20;elsereturn 40;}$t = start(90);if ($t < 20){echo "Have a good day!";}else{echo "Have a good night!";} Have a good night! None of the mentioned ERROR Have a good day! Have a good night! None of the mentioned ERROR Have a good day! ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo ucwords("i love all country"); I love all Country I Love All Country I love all country i love all Country I love all Country I Love All Country I love all country i love all Country ANSWER DOWNLOAD EXAMIANS APP