据我所知(很少),有两种方法,给定:
$var = new object()
然后:
// Method 1: Set to null $var = null; // Method 2: Unset unset($var);
还有其他更好的方法吗?我是在吹毛求疵吗?
https://stackoverflow.com/questions/8798443
相似问题