//变量销毁unset
$aa1 = 99;
if(isset($aa1)){
unset($aa1);
}
var_dump($aa1);//$aa1值为null
$ab = 23;
$ab1 = &$ab;
var_dump($ab,$ab1);//23 23
$ab1 = 20;
var_dump($ab,$ab1);//20 20
unset($ab);
var_dump($ab,$ab1);//null 20
$aa1 = 99;
if(isset($aa1)){
unset($aa1);
}
var_dump($aa1);//$aa1值为null
$ab = 23;
$ab1 = &$ab;
var_dump($ab,$ab1);//23 23
$ab1 = 20;
var_dump($ab,$ab1);//20 20
unset($ab);
var_dump($ab,$ab1);//null 20