Created
July 3, 2015 13:19
-
-
Save colindecarlo/195cbba6891ad022ff10 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Objects in PHP have methods which are referred to as 'magic methods'. Name these methods and | |
describe thier individual functions. | |
2. PHP Objects support single inheritance, what keyword is used to define the inheritance | |
relationship and describe some key effects inheritance has. | |
3. PHP objects support property and method visibility. What are the keywords used to describe | |
visibility and describe how each keyword affects the property or method. | |
4. What is a Trait in PHP? What effect does a Trait have on a PHP class that uses it? | |
5. Within the definition of a PHP class, there are specific keywords that can be used to refer | |
to the class, or instance of the class, itself, what are those keywords and how does their | |
usage differ? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment