ReflectionParameter::allowsNull
ReflectionParameter::allowsNull
(PHP 5, PHP 7)
ReflectionParameter::allowsNull — Checks if null is allowed
Description
public bool ReflectionParameter::allowsNull ( void )
Checks whether the parameter allows NULL
.
Warning
This function is currently not documented; only its argument list is available.
Parameters
This function has no parameters.
Return Values
TRUE
if NULL
is allowed, otherwise FALSE
See Also
- ReflectionParameter::isOptional() - Checks if optional
© 1997–2017 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://secure.php.net/manual/en/reflectionparameter.allowsnull.php