PHP Functions Which one of the following is the right way of defining a function in PHP? function { function body } 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 } ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function one() {echo " this works";function two() {echo "this too works";}}one();two(); this works this too works this worksthis too works this works error this works this too works this worksthis too works this works error ANSWER DOWNLOAD EXAMIANS APP
PHP Functions phpinfo() will display about?1. OS version information2. PHP installation3. Variables4. HTTP headers Option 2 Option 4 Option 1 All listed here Option 2 Option 4 Option 1 All listed here ANSWER DOWNLOAD EXAMIANS APP
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 a() {function b() {echo 'I am b';}echo 'I am a';}a();a(); Error I am bI am a I am b I am a Error Error I am bI am a I am b I am a Error ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which one of the following PHP functions can be used to find files? get_file() file() glob() fold() get_file() file() glob() fold() ANSWER DOWNLOAD EXAMIANS APP