PHP Functions What will be the output of the following PHP code ?function constant(){define("GREETING", "Welcome to Narnia",true);echo greeting;} Welcome to Narnia greeting ERROR GREETING Welcome to Narnia greeting ERROR GREETING ANSWER DOWNLOAD EXAMIANS APP
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); This Too Seems To Work This WorksThis Too Seems To Work ERROR This Works This Too Seems To Work This WorksThis Too Seems To Work ERROR This Works ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function uppercase($string) {echo ucwords($string);}$wow = "uppercase";$wow("Time to live king size"); Uppercase TIME TO LIVE KING SIZE Time To Live King Size Time to live king size Uppercase TIME TO LIVE KING SIZE Time To Live King Size Time to live king size ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?$str = "Hello World";echo wordwrap($str,5,"n"); HelloWorld Hello World World Hell 0 Wo rld HelloWorld Hello World World Hell 0 Wo rld ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?$var = 10;function one(){echo $var;}one(); Error 10 No Output None of the Mentioned Error 10 No Output None of the Mentioned ANSWER DOWNLOAD EXAMIANS APP
PHP Functions phpinfo() will display about?1. OS version information2. PHP installation3. Variables4. HTTP headers Option 4 All listed here Option 1 Option 2 Option 4 All listed here Option 1 Option 2 ANSWER DOWNLOAD EXAMIANS APP