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 42 0 84 Error 42 0 84 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';}b();a(); Error I am b I am a Error I am bI am a Error I am b I am a Error I am bI am a ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo hex2bin("48656c6c6f20576f726c6421"); Hello World! This is PHP! welcome to india MCQ questons Hello World! This is PHP! welcome to india MCQ questons ANSWER DOWNLOAD EXAMIANS APP
PHP Functions The below statement will return.$Var = substr(""abcdef"", -4, 1); returns "cd" returns "f" returns "c" returns "d" returns "cd" returns "f" returns "c" returns "d" ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function email(){$email = ’contact@examians.com’;$new = strstr($email, ‘@');echo $new;}email(); examians.com @examians.com contact@examians.com contact examians.com @examians.com contact@examians.com contact 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