InterviewSolution
Saved Bookmarks
| 1. |
What are the __construct() and __destruct() methods in a PHP class? |
|
Answer» Constructor and a Destructor both are special functions which are automatically called when an object is created and destroyed. Exampleclass Animal |
|