The function array_key_exists() can do that, and property_exists() for objects, plus what Vineet1982 said. Thanks for your help.
The function array_key_exists() can do that, and property_exists() for objects, plus what Vineet1982 said. Thanks for your help.