PHP Functions What will be the output of the following PHP code?function onespan>() {define("const","I am awesome!");echo constant("const");}one(); const const, I am awesome!! “const”,”I am awesome!” I am awesome!! const const, I am awesome!! “const”,”I am awesome!” I am awesome!! ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function sum($num1, $num2) {$total = $num1 + $num2;echo "cos($total)";}sum(5,-5); 0.5 -0.5 0 1 0.5 -0.5 0 1 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?$str = "Hello World";echo wordwrap($str,5,"n"); Hello World Hell 0 Wo rld HelloWorld World Hello World Hell 0 Wo rld HelloWorld World 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 email(){$email = ’contact@examians.com’;$new = strstr($email, ‘@');echo $new;}email(); @examians.com contact examians.com contact@examians.com @examians.com contact examians.com contact@examians.com 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 SaladSaladSaladSaladSalad 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 ANSWER DOWNLOAD EXAMIANS APP