PHP Functions What will be the output of the following PHP code?function a() {function b() {echo 'I am b';}echo 'I am a';}a();a(); I am a Error Error I am b I am bI am a I am a Error Error I am b I am bI am a ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo str_pad("Salad", 5)." is good for health."; is good for health Salad SaladSaladSaladSaladSalad is good for health Salad is good for health is good for health SaladSaladSaladSaladSalad is good for health Salad SaladSaladSaladSaladSalad is good for health Salad is good for health is good for health SaladSaladSaladSaladSalad ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will happen in this function call?function calc($price, $tax) {$total = $price + $tax;}$pricetag = 15;$taxtag = 3;calc($pricetag, $taxtag); Call By Reference Type Hinting Call By Value Default Argument Value Call By Reference Type Hinting Call By Value Default Argument Value ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which of the following PHP functions can be used for generating unique id’s? mdid() md5() uniqueid() id() mdid() md5() uniqueid() id() 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
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 day! None of the mentioned ERROR Have a good night! Have a good day! None of the mentioned ERROR Have a good night! ANSWER DOWNLOAD EXAMIANS APP