主页
PHP
PHP isset() 函数
tryphp_func_var_isset
运行 ❯
×
更改方向
保存代码
更改主题
<?php $a = 0; // True because $a is set if (isset($a)) { echo "Variable 'a' is set.
"; } $b = null; // False because $b is NULL if (isset($b)) { echo "Variable 'b' is set."; } ?>