ReflectionParameter::allowsNull
(PHP 5, PHP 7, PHP 8)
ReflectionParameter::allowsNull — Checks if null is allowed
Description
Checks whether the parameter allows null.
Parameters
This function has no parameters.
Return Values
true if null is allowed, otherwise false

