I am learning about destructor method
and there are many ways to destroy object (unset, end of file)
and I echo
'in destructor method'
I look at long output file and do not understand which object destroyed
can we echo anything about $obj in destructor
$obj which was created in __LINE__(line of creation) is destroyed
could we get more information using reflection class
an easy answer would be outside the class
echo '<br>information about object about to be destroyed'
but this answer does not cover example where object is destroyed at end of file
I am looking to learn instead of a quick fix to problem