Answers

Question and Answer:

  Home  Senior PHP Programmer

⟩ How will you add a destructor function to a PHP class?

Like a constructor function you can define a destructor function using function __destruct(). You can release all the resources with-in a destructor.

 203 views

More Questions for you: