[link]http://php.net/manual/en/function.isset.php[/link]
Clearly states that "isset — Determine if a variable is set and is not NULL"?
I have been trying to use isset() to check values for NULL and it still appears yet when I use != NULL then it works. I think the fine line is in various instances but if anyone can confirm my conclusions:
1. $variable = "" > value SET
2. $variable = "a" > value SET
3. no definition > value NOT SET
4. $variable = 0 > value NOT SET
5. $variable = NULL > value NOT SET
any other examples?
Inparticular the 1. and 4. should be noted as I thought 1. would be NOT SET and 4. should be SET but it seems they are not through testing. Anyone confirm these as they dont seem logical to me?
Thanks, Regards X
PS: If anyone has anything else to add go ahead.