PHP Functions The below statement will return.$Var = substr(""abcdef"", -4, 1); returns "c" returns "f" returns "cd" returns "d" returns "c" returns "f" returns "cd" returns "d" ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function mine($m){if ($m < 0)echo "less than 0";if ($ >= 0)echo "Not True";}mine(0); Not True None of the Mentioned Less Than 0 No Output Not True None of the Mentioned Less Than 0 No Output ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which one of the following is the right way of defining a function in PHP? functionName(parameters) { function body } function fumctionName(parameters) { function body } data type functionName(parameters) { function body } function { function body } functionName(parameters) { function body } function fumctionName(parameters) { function body } data type functionName(parameters) { function body } function { function body } 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(); Error I am b I am bI am a I am a Error Error I am b I am bI am a I am a Error ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function _func(){echo "Hello World";}_func(); ERROR No Output None of the mentioned Hello World ERROR No Output None of the mentioned Hello World 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 Works This Too Seems To Work This WorksThis Too Seems To Work ERROR This Works This Too Seems To Work This WorksThis Too Seems To Work ANSWER DOWNLOAD EXAMIANS APP