Timeline for Using isset or is not set PHP variable with extra fields?
Current License: CC BY-SA 4.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 30, 2020 at 11:12 | comment | added | mickmackusa |
Regarding if (isset($variable) && empty($variable) { . This will only evaluate as true if $variable is set, not null, yet is a falsey value (like 0 ). The same evaluation can be done with if (isset($variable) && !$variable) {
|
|
Jul 30, 2020 at 11:03 | history | edited | Irata♦ | CC BY-SA 4.0 |
Corrected the missing bracket
|
Jul 30, 2020 at 9:19 | history | answered | Irata♦ | CC BY-SA 4.0 |