What is the Scope Resolution Operator?
“::” double colons is the scope operator it is used to call methods of a class that has not been instantiated. You should also understand static …
How do you load classes in PHP?
Review the “autoload” and “spl_autoload_register” function (note:you should use the later). The autoload function basically triggers a function when a class is instantiated, you can put …
What is Polymorphism?
It’s simply the idea that one object can can take on many forms. So in PHP OOP one class “cars” may have two classes that extend …
In a PHP class what are the three visibility keywords of a property or method?
public, private and protected. The default is public. Public -> Any class may instantiate the class and call the method or property. Protected -> Only the …
In PHP what is the difference between a Class and an Interface?
Interfaces do not contain business logic, only method signatures that define a template that any classes implementing the interface must contain. Lets take an auto mobile …
What is Object Oriented Programming?
This is usually a pretty open ended question. You should understand classes (objects are instantiated classes), abstract classes, interfaces, methods, properties,inheritance, multiple inheritance as well as …