Hi!
3) The use case for this function required the existing behavior
(i.e. can you safely call property $x from the current scope with no
warning?), and that *ignored* when the behavior was changed. We
already have Reflection classes for inquiring protected/private
properties of a class from any
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.
2010/10/13 Stas Malyshev
> 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 "a