Reply to Re: Test for the existence of a null property
Posted by wildernesscat on 08/09/06 06:38
That's interesting. I didn't know that array_key_exists() works on
objects, but someone suggested I used property_exists(), and that seems
to solve the riddle.
> Psst! You can use array_key_exists('aaa', $var) to test for the
> existence of a property. I didn't tell you that by the way.