Re: The constant use of isset()
| From: | Olivier B. | Date: | Tue, 12 May 2009 17:01:06 +0000 |
| Subject: | Re: The constant use of isset() | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-43906@lists.php.net to get a copy of this message | ||
Sean Coates a écrit :
So if the variable is set and contains "false", we can't check it ? And near same problem for 0, empty array and empty string.How would you ever get false (the value, not the string) into a request variable? (without setting it that way after the request init, that is) So this isset() behavior will only be available for request variable, not for all variables ?
I can't do that ? $a = isset($foo['bar'])