我是OOP编程的新手。所以我有两个关于__destruct函数的问题。
Can I call another object-function from __destruct or are the other functions already undeclarated? For example:
function __destruct() $this->save();
Can I also call the __destruct function in my normal code? For example:
$object_name->__destruct();