Organizational Research By

Surprising Reserch Topic

Experts Most Trusted Topic


how to delete a php object from its class using -'php,oop'


how to delete a php object from its class  using -'php,oop'

I know that for some that might sound stupid, but I was thinking if I hava a delete() method in a class that removes all the object data (from DB and file system), how can I destroy/remove the object from within the class.

This is a PHP question. Something like unset($this); Is it possible and wise? And what is the right way to do it?
    

asked Sep 7, 2015 by rajesh
0 votes
4 views



Related Hot Questions



Government Jobs Opening


...