析构函数提问
function __destruct(){
echo "Destroying" . $this->name . "\n";
}
此处意思是析构了$name这个属性吗?然后就是有析构方法这一说吗?比如:
function __destruct(){
echo "Destroying" . $this->run( ) . "\n";
}
function __destruct(){
echo "Destroying" . $this->name . "\n";
}
此处意思是析构了$name这个属性吗?然后就是有析构方法这一说吗?比如:
function __destruct(){
echo "Destroying" . $this->run( ) . "\n";
}
2016-05-05
举报