? 现在努力,未来可期!2021-10-27 09:22:29
empty If the variable is a non-empty or non-zero value, empty() returns FALSE. In other words, "", 0, "0", NULL, FALSE, array(), var $var, undefined; and objects without any attributes will be considered empty, and if var is empty, TRUE is returned . isset returns TRUE if the variable exists (not NULL), otherwise returns FALSE (including undefined). The variable value is set to: null, and the return value is also false; after unsetting a variable, the variable is canceled. Note that isset handles NULL value variables specially. I use Xiaoniao Cloud Server to build a website and practice code. Now I pay 72 per year for 1 core and 2G. If you need it, you can go to Xiaoniao Cloud to check it out.