PHP Functions What will be the output of the following PHP code?define("GREETING","Hello you! How are you today?");echo constant("GREETING"); GREETING “GREETING”,”Hello you! How are you today?” GREETING, Hello you! How are you today? Hello you! How are you today? GREETING “GREETING”,”Hello you! How are you today?” GREETING, Hello you! How are you today? Hello you! How are you today? ANSWER DOWNLOAD EXAMIANS APP
PHP Functions It is always necessary to use parentheses with the print function. False True False True ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo ucwords("i love my country"); i love my Country I Love My Country I love my Country I love my country i love my Country I Love My Country I love my Country I love my country 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;} ERROR greeting Welcome to Narnia GREETING ERROR greeting Welcome to Narnia GREETING ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo lcfirst("welcome to my India"); Welcome to my india Welcome to my India welcome to my india welcome to my India Welcome to my india Welcome to my India welcome to my india welcome to my India ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function calc($num1, $num2){$total = $num1 * $num2;return $total; }$result = calc(42, 0);echo $result; Error 0 42 84 Error 0 42 84 ANSWER DOWNLOAD EXAMIANS APP