isset function of PHP

來源:互聯網
上載者:User
簡介:這是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
  • 聯繫我們

    該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

    如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.