MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the following PHP code ?<?phpfunction calc(){ static $p = 5; echo $p; $p++;}calc();calc();calc();?> |
| A. | 5 |
| B. | 56 |
| C. | 567 |
| D. | 5678 |
| E. | None of these |
| Answer» D. 5678 | |