Sr. PHP Programmer Question:
Download Job Interview Questions and Answers PDF
How will you add a destructor function to a PHP class?
Answer:
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 Question | Next Question |
What is the use of explode() function? | What is mean by an associative array? |