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