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 sum($num1, $num2) {$total = $num1 + $num2;echo "chr($total)";}$var1 = "sum";$var1(5, 44); 49 Sum Error 1 49 Sum Error 1 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 WorksThis Too Seems To Work This Too Seems To Work ERROR This Works This WorksThis Too Seems To Work This Too Seems To Work ERROR This Works ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function do($myString) {echo strpos($myString, "donkey",0);}do("The donkey looks like a horse."); 2 4 5 None of the mentioned 2 4 5 None of the mentioned ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?$var = 10;function one(){echo $var;}one(); None of the Mentioned Error No Output 10 None of the Mentioned Error No Output 10 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will happen in this function call?function calc($price, $tax) {$total = $price + $tax;}$pricetag = 15;$taxtag = 3;calc($pricetag, $taxtag); Default Argument Value Call By Reference Call By Value Type Hinting Default Argument Value Call By Reference Call By Value Type Hinting ANSWER DOWNLOAD EXAMIANS APP