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(); I am a Error I am bI am a I am b Error I am a Error I am bI am a I am b Error ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which of the following are valid function names?1. function()2. €()3. .function()4. $function() Only 2 3 and 4 All of the mentioned None of the mentioned Only 2 3 and 4 All of the mentioned None of the mentioned ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?$str = "Hello World";echo wordwrap($str,5,"n"); HelloWorld Hello World Hell 0 Wo rld World HelloWorld Hello World Hell 0 Wo rld World ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function foo($msg) {echo "$msg";}$var1 = "foo";$var1("will this work"); Error Will this work $msg 0 Error Will this work $msg 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function a() {function b() {echo 'I am bb';}echo 'I am a';}b();a(); I am a Error I am bb I am bI am a Error I am a Error I am bb I am bI am a Error ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function b() {echo "b is executed";}function a(){b();echo "a is executed";b();}a(); b is executeda is executed b is executedb is executedb is executed b is executeda is executedb is executed a is executed b is executeda is executed b is executedb is executedb is executed b is executeda is executedb is executed a is executed ANSWER DOWNLOAD EXAMIANS APP