PHP Functions What will be the output of the following PHP code?function onespan>() {define("const","I am awesome!");echo constant("const");}one(); I am awesome!! “const”,”I am awesome!” const const, I am awesome!! I am awesome!! “const”,”I am awesome!” const const, I am awesome!! ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which of the following are valid function names?1. function()2. €()3. .function()4. $function() None of the mentioned All of the mentioned 3 and 4 Only 2 None of the mentioned All of the mentioned 3 and 4 Only 2 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 I am a Error Error I am bI am a I am b I am a Error Error I am bI am a ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which one of the following is the right way of defining a function in PHP? data type functionName(parameters) { function body } functionName(parameters) { function body } function { function body } function fumctionName(parameters) { function body } data type functionName(parameters) { function body } functionName(parameters) { function body } function { function body } function fumctionName(parameters) { function body } ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo ucwords("i love all country"); I Love All Country i love all Country I love all Country I love all country I Love All Country i love all Country I love all Country I love all country ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which one of the following functions can be used to compress a string? zip_compress() gzcompress() zip() compress() zip_compress() gzcompress() zip() compress() ANSWER DOWNLOAD EXAMIANS APP