PHP Functions What will be the output of the following PHP code?echo stripos("I love php, I love php too!","PHP"); 3 10 8 7 3 10 8 7 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function calc($price, $tax="") {$total = $price + ($price * $tax);echo "$total";}calc(42); 84 Error 0 42 84 Error 0 42 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 @examians.com contact examians.com contact@examians.com @examians.com contact examians.com 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 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 Too Seems To Work This Works ERROR This WorksThis Too Seems To Work This Too Seems To Work This Works ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function sum($num1, $num2) {$total = $num1 + $num2;echo "cos($total)";}sum(5,-5); 0 -0.5 1 0.5 0 -0.5 1 0.5 ANSWER DOWNLOAD EXAMIANS APP