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 0 42 Error 84 0 42 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";}}function b(){echo " I am here to spoil this code";}b();TV("Sherlock"); I am here to spoil this code My favourite TV show isI am here to spoil this code None of the mentioned Error I am here to spoil this code My favourite TV show isI am here to spoil this code None of the mentioned Error ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo hex2bin("48656c6c6f20576f726c6421"); MCQ questons Hello World! This is PHP! welcome to india MCQ questons Hello World! This is PHP! welcome to india ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function one() {echo " this works";function two() {echo "this too works";}}one();two(); error this works this too works this works this worksthis too works error this works this too works this works this worksthis too works ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?define("GREETING","Hello you! How are you today?");echo constant("GREETING"); “GREETING”,”Hello you! How are you today?” GREETING, Hello you! How are you today? GREETING Hello you! How are you today? “GREETING”,”Hello you! How are you today?” GREETING, Hello you! How are you today? GREETING Hello you! How are you today? ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Above usleep() function pauses PHP for .usleep(1000000); 10 seconds 100 microseconds 1 microseconds 1 second 10 seconds 100 microseconds 1 microseconds 1 second ANSWER DOWNLOAD EXAMIANS APP