(PHP 5, PHP 7, PHP 8)
ReflectionParameter::allowsNull — Checks if null is allowed
Checks whether the parameter allows null.
null
此函數沒(méi)有參數。
true if null is allowed, otherwise false
true
false