| php-manual.net |
|
| Home | PHP Manual auf Deutsch | PHP Manual in English | PHP manuel le sur le français | Impressum |
Software
property_exists(PHP 5 >= 5.1.0) property_exists — Checks if the object or class has a property Beschreibung
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).
Parameter Liste
RückgabewerteReturns TRUE if the property exists, FALSE if it doesn't exist or NULL in case of an error. Beispiele
Example#1 A property_exists() example
<?php |