MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the following PHP code ? <?php $x = 5; function fun() { $x = 10; echo "$x"; } fun(); echo "$x"; ?> |
| A. | 0 |
| B. | 105 |
| C. | 510 |
| D. | Error |
| Answer» C. 510 | |