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 WorksThis Too Seems To Work This Works This Too Seems To Work ERROR This WorksThis Too Seems To Work This Works This Too Seems To Work ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function TV($string) {echo "my favourite TV show is ".$string;function b() {echo " I am here to spoil this code";}}b(); I am here to spoil this code Error None of the mentioned My favourite TV show isI am here to spoil this code I am here to spoil this code Error None of the mentioned My favourite TV show isI am here to spoil this code ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Type Hinting was introduced in which version of PHP? PHP 4 PHP 5 PHP 6 PHP 5.3 PHP 4 PHP 5 PHP 6 PHP 5.3 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?$op2 = "blabla";function foo($op1) {echo $op1;echo $op2;}foo("hello"); hello error helloblablablabla helloblabla hello error helloblablablabla helloblabla ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Returning values from functions may include ..... Arrays Objects None of above Both A & B Arrays Objects None of above Both A & B ANSWER DOWNLOAD EXAMIANS APP
PHP Functions A function in PHP which starts with ______ (double underscore) is know as. Magic Function Default Function User Defined Function Inbuilt Function Magic Function Default Function User Defined Function Inbuilt Function ANSWER DOWNLOAD EXAMIANS APP