Re: Mystery foreach error
| From: | David Harkness | Date: | Thu, 14 Mar 2013 00:20:12 +0000 |
| Subject: | Re: Mystery foreach error | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-320530@lists.php.net to get a copy of this message | ||
On Wed, Mar 13, 2013 at 5:10 PM, Sebastian Krebs <krebs.seb@gmail.com>wrote:
> Because 'null' is the representation of "nothing" array_key_exists() and
> isset() can be treated as semantically equivalent.
As I said, these functions return different results for null values. It
won't matter for Angela since she isn't storing null in the array, though.
Peace,
David