PHP Functions What will be the output of the following PHP code ?function test($int){if ($int == 1)echo "This Works";if ($int == 2)echo "This Too Seems To Work";}test(1);TEST(2); ERROR This Too Seems To Work This WorksThis Too Seems To Work This Works ERROR This Too Seems To Work This WorksThis Too Seems To Work This 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?” 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? GREETING 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 is good for health SaladSaladSaladSaladSalad Salad is good for health is good for health Salad SaladSaladSaladSaladSalad is good for health is good for health SaladSaladSaladSaladSalad Salad is good for health 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?echo lcfirst("welcome to India"); Welcome to India welcome to india Welcome to india welcome to India Welcome to India welcome to india Welcome to india welcome to India ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function sayHello() {echo "HelloWorld";}$function_holder = "sayHello";$function_holder(); Error sayHello No Output HelloWorld Error sayHello No Output HelloWorld ANSWER DOWNLOAD EXAMIANS APP