MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the following PHP code ?<?phpfunction fun($str) { echo "hello n".$str; function Z() { echo "Inside block executed... n"; } }function Z() { echo "Outside block executed... n"; }Z();fun("Interview Mania");?> |
| A. | Error |
| B. | Inside block executed... |
| C. | Outside block executed... |
| D. | Interview Mania |
| E. | None of these |
| Answer» B. Inside block executed... | |