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."); None of the mentioned 4 5 2 None of the mentioned 4 5 2 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); Call By Reference Call By Value Default Argument Value Type Hinting Call By Reference Call By Value Default Argument Value Type Hinting 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 A function in PHP which starts with ______ (double underscore) is know as. User Defined Function Inbuilt Function Default Function Magic Function User Defined Function Inbuilt Function Default Function Magic Function 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(); examians.com contact@examians.com @examians.com contact examians.com contact@examians.com @examians.com contact 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