PHP Functions The below statement will return.$Var = substr(""abcdef"", -4, 1); returns "c" returns "cd" returns "f" returns "d" returns "c" returns "cd" returns "f" returns "d" 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); 1 -0.5 0.5 0 1 -0.5 0.5 0 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 1 Error Sum 49 1 Error Sum ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo ucwords("i love my country"); i love my Country I Love My Country I love my country I love my Country i love my Country I Love My Country I love my country I love my Country ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Above usleep() function pauses PHP for .usleep(1000000); 10 seconds 100 microseconds 1 second 1 microseconds 10 seconds 100 microseconds 1 second 1 microseconds 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';}b();a(); I am b Error I am a Error I am bI am a I am b Error I am a Error I am bI am a ANSWER DOWNLOAD EXAMIANS APP