Self-Test Questions in PHP Language For Beginners Part 13


1. What is a function, and what does it do?
2. Are curly braces required around the statements in a function?
3. How do you call a function?
4. How does a function receive the values upon which to work?
5. How can you assign default values to arguments that are passed to a function?
6. With which two functions can you handle variable numbers of arguments to a function?
7. How does a function return to the calling code?
8. In PHP, what is the difference between local and global scope?
9. With which keyword can you access a global variable from a PHP function?
10. With which array can you access global variables from a function?

Self-Test Questions in PHP Language For Beginners Part 13

No comments:

Post a Comment