Through learning the PHP language, you should know that it is a function-based HTML scripting language. The huge function library supports the implementation of PHP functions. Next we will introduce the usage of PHP functions isset () and empty.
Php Chinese network (www.php.cn) provides the most comprehensive basic tutorial on programming technology, introducing HTML, CSS, Javascript, Python, Java, Ruby, C, PHP, basic knowledge of MySQL and other programming languages. At the same time,
PHPisset () and empty () usage differences. The isset () function of PHP is generally used to check whether the variable is set in the format boolisset (mixedvar [, mixedvar [,...]). function: checks whether a return value is set for a variable. if
PHP's Isset () function is commonly used to detect whether a variable is setFormat: bool Isset (mixed var [, mixed Var [, ...])Function: Detect whether the variable is setreturn value:Returns FALSE if the variable does not existReturns FALSE if the
By learning the language of PHP, you should know that it is a function-based HTML scripting language. The large library of functions supports the implementation of PHP language functions. Let's introduce the relevant usage of PHP function isset ()
PHP's Isset () function is commonly used to detect whether a variable is setFormat: bool Isset (mixed var [, mixed Var [, ...])
Function: Detect whether the variable is set
return value:
Returns FALSE if the variable does not exist
Returns FALSE
PHP isset () and empty () the use of a different explanation, Issetempty
PHP's Isset () function is commonly used to detect whether a variable is setFormat: bool Isset (mixed var [, mixed Var [, ...])Function: Detect whether the variable is
By learning the language of PHP, you should know that it is a function-based HTML scripting language. The large library of functions supports the implementation of PHP language functions. Let's introduce the relevant usage of PHP function isset ()
Difference between PHP isset () and empty (), issetemptyThe isset () function of PHP is generally used to check whether the variable is set.Format: bool isset (mixed var [, mixed var [,...])Function: checks whether variables are set.Return Value:If
Original: PHP isset () and empty () the use of a different explanationPHP's Isset () function is commonly used to detect whether a variable is setFormat: bool Isset (mixed var [, mixed Var [, ...])Function: Detect whether the variable is setreturn
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.