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 Works This WorksThis Too Seems To Work ERROR This Too Seems To Work This Works This WorksThis Too Seems To Work ERROR ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function mine($num){$num = 2 + $num;echo $num;}mine(3); 3 $num None of the mentioned 5 3 $num None of the mentioned 5 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 email(){$email = ’contact@examians.com’;$new = strstr($email, ‘@');echo $new;}email(); contact @examians.com contact@examians.com examians.com contact @examians.com contact@examians.com examians.com ANSWER DOWNLOAD EXAMIANS APP
PHP Functions The arguments in a function are evaluated from ..... left to right sometimes left to right and sometimes right to left Always right to left right to left left to right sometimes left to right and sometimes right to left Always right to left right to left 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;} GREETING greeting Welcome to Narnia ERROR GREETING greeting Welcome to Narnia ERROR ANSWER DOWNLOAD EXAMIANS APP