Home » Interview » Technology

What is the difference between _construct() and _destruct() methods in php?

Correct 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

← Previous Question Next Question→

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion