Available Checks
Here's a (probably incomplete) list of checks available across PHP: The Missing Bits:
Function List
Function | Description |
---|---|
IsClassProperty::check() |
is the ReflectionProperty a class property? |
IsList::check() |
can we use the variable in foreach() loop? |
IsListyObject::check() |
can we use the variable in foreach() loop? |
IsObjectProperty::check() |
is the ReflectionProperty an object property? |
IsStringy::check() |
can we use the variable as a string? |