Home >Backend Development >PHP Tutorial >The difference between bulkrenameutility isset and empty

The difference between bulkrenameutility isset and empty

WBOY
WBOYOriginal
2016-07-29 08:36:09867browse

isset($var); //It is false, it is not defined, it is not defined as false
$var = '';
isset($var); //It is true, it is defined as true
empty($var); //It is true value If it is empty, return true
$var = '111';
empty($var); //If it is false, if it is not empty, return false

The above introduces the difference between bulkrenameutility isset and empty, including the content of bulkrenameutility. I hope it will be helpful to friends who are interested in PHP tutorials.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn