PHP Functions The below statement will return.$Var = substr(""abcdef"", -4, 1); returns "f" returns "d" returns "cd" returns "c" returns "f" returns "d" returns "cd" returns "c" 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."); 5 2 None of the mentioned 4 5 2 None of the mentioned 4 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function a() {function b() {echo 'I am b';}echo 'I am a';}a();a(); I am b Error I am bI am a I am a Error I am b Error I am bI am a I am a Error ANSWER DOWNLOAD EXAMIANS APP
PHP Functions The arguments in a function are evaluated from ..... Always right to left sometimes left to right and sometimes right to left right to left left to right Always right to left sometimes left to right and sometimes right to left right to left left to right 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 calc($price, $tax="") {$total = $price + ($price * $tax);echo "$total";}calc(42); 84 42 0 Error 84 42 0 Error ANSWER DOWNLOAD EXAMIANS APP