Manuál PHP | ||
---|---|---|
PÅ™edcházejÃcà | Dalšà |
property_exists
Popis
bool property_exists ( mixed class, string property )
This function checks if the given property
exists in
the specified class (and if it is accessible from the current scope).
Poznámka: As opposed with isset(), property_exists() returns TRUE even if the property has the value NULL.
Seznam parametrů
class
The class name or an object of the class to test for
property
The name of the property
Návratové hodnoty
Returns TRUE if the property exists, FALSE if it doesn't exist or NULL in case of an error.
PÅ™Ãklady
PÅ™edcházejÃcà | Domů | Dalšà |
method_exists | Nahoru |