簡介:這是isset function of PHP的詳細頁面,介紹了和php,php, isset isset function of PHP有關的知識、技巧、經驗,和一些php源碼等。
class='pingjiaF' frameborder='0' src='http://biancheng.dnbcw.info/pingjia.php?id=347709' scrolling='no'>
isset
(PHP 4, PHP 5)
isset ― Determine if a variable is set and is not NULL
檢查參數的值是否已經設定並且不為NULL。
Description
bool isset ( mixed $var [, mixed $... ] )
Determine if a variable is set and is not NULL .
If a variable has been unset with unset() , it will no longer be set. isset() will return FALSE if testing a variable that has been set to NULL . Also note that a NULL byte ("\0" ) is not equivalent to the PHP NULL constant.
檢查參數的值是否已經設定並且不為NULL。
如果參數調用unset()而不被設定,那它以後也不會被設定。如果參數設定為NULL,調用isset()會返回FALSE。而且NULL位元組不等同PHP中NULL的常量值。
If multiple parameters are supplied then isset() will return TRUE only if all of the parameters are set. Evaluation goes from left to right and stops as soon as an unset variable is encountered.
如果想多個參數調用isset()返回TRUE,只有這些函數都被設定過。函數會從左向右檢查所有的參數,一直遇到沒有設定的或者參數集末尾。
Parameters
var The variable to be checked. 被檢查的參數。
... Another variable ... 另外的參數。
Return Values
Returns TRUE if var exists and has value other than NULL , FALSE otherwise.
假如參數存在或者不為空白返回TRUE,其他返回FALSE。
愛J2EE關注Java邁克爾傑克遜視頻站JSON線上工具
http://biancheng.dnbcw.info/php/347709.html pageNo:3