property_exists()
function property_exists(mixed $object_or_class, string $property): bool
Checks whether an object or class has a property.
Parameters:
$object_or_class(mixed)$property(string)
Returns: bool
Availability
| Compiled (AOT) | Magician (eval) |
|---|---|
| Available | Available |
No examples yet. Check examples/ and showcases/ for usage patterns.
Internals
For how property_exists is implemented in the compiler, see the internals page.