ReflectionType::allowsNullChecks if null is allowed Description
public bool ReflectionType::allowsNull()
Checks whether the parameter allows ParametersThis function has no parameters. Return Values
Examples
Example #1 ReflectionType::allowsNull example
The above example will output: bool(false) bool(true) See Also
|