PHP
OO
- namespace?
- interface?
- self?
- $this?
- use?
- annotations?
- visibility:
- private: only in this class
- protected: only in derived classes
- public: everywhere
- ctor
function __construct() {
parent::__construct() // has to be called explicitly
...
}
function __construct() {
parent::__construct() // has to be called explicitly
...
}