PHP Functions What will be the output of the following PHP code?function onespan>() {define("const","I am awesome!");echo constant("const");}one(); “const”,”I am awesome!” const I am awesome!! const, I am awesome!! “const”,”I am awesome!” const I am awesome!! const, I am awesome!! 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 a Error I am b I am bI am a Error I am a Error I am b I am bI am a ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which one of the following functions can be used to compress a string? zip() gzcompress() compress() zip_compress() zip() gzcompress() compress() zip_compress() 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 Error Sum 1 49 Error Sum 1 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?$title = "O'malley wins the heavyweight championship!";echo ucwords($title); o’malley wins the heavyweight championship! O’Malley wins the heavyweight championship! O’Malley Wins The Heavyweight Championship! O’malley Wins The Heavyweight Championship! o’malley wins the heavyweight championship! O’Malley wins the heavyweight championship! O’Malley Wins The Heavyweight Championship! O’malley Wins The Heavyweight Championship! ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which one of the following PHP functions can be used to find files? glob() fold() get_file() file() glob() fold() get_file() file() ANSWER DOWNLOAD EXAMIANS APP