What is the purpose of destructor ?
Answers were Sorted based on User's Feedback
Answer / sunil kumar
A destructor is used to destroy the objects that have been
created earlier.Destructor is a member function whose name
is the same as the class name but is preceded by tilde sign.
It never takes any argument nor it returns any value.It`ll
be invoked implicitly by the compiler upon exit from the
program to clean up storage that is no longer accessible.
| Is This Answer Correct ? | 1 Yes | 3 No |
What are the popular frameworks in php?
Is key exist in array php?
What is the delimiter default in PHP?
What are the differences between require and include, include_once?
Tell us what is the difference between session_unregister() and session_unset()?
What are the basic steps to store PHP session in to Database?
Is laravel an oop?
What is session in PHP. How to remove data from a session?
How can we know the number of days between two given dates using PHP?
8 Answers AZTEC, HCL, Navsoft,
What is an operator in php?
What is use of isset function in php?
What is putenv?