Sr. PHP Programmer Question:
Download Questions PDF

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.

Download Senior PHP Programmer Interview Questions And Answers PDF

Previous QuestionNext Question
What is the use of explode() function?What is mean by an associative array?