Question Detial
If constructor declared as private, PHP through the following fatal error when create object. Fatal error: Call to private BaseClass::__construct() from invalid context in. If constructor declared as protected, PHP through the following fatal error when create object. Fatal error: Call to protected BaseClass::__construct() from invalid context in.
Hot Questions
How to Get the Size of all Tables in a database in MySQL?