Q:
What is the difference between _construct() and _destruct() methods in php?
Answer
These two methods are bulid-in methods in php. with construct() we can overwride the parent class method. The inverse of the __construct() PHP capacity while making another class, is the __destruct() technique. The __destruct() technique will consequently keep running, after you've completed with the PHP class.
View answer
Workspace
Report Error
Discuss