Hi!

As for isset(), it doesn't cover the use case for property_exists(), as
isset() returns false when a property exists, and is one of these values:

null, false, int 0, float 0, string '', empty array()

property_exists() more closely relates to "array_key_exists() for objects"
in that regard.

This is not true. isset() only returns false if the property doesn't exist or is set to null.
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to