判断变数是否已设定。
语法: int isset(mixed var);
传回值: 整数
函式种类: PHP 系统功能
本函式用来测试变数是否已经设定。若变数已存在则传回 true 值。其它情形传回 false 值。
<?php$a = "test";echo isset($a); // trueunset($a);echo isset($a); // false?>
empty() unset()