ReflectionParameter::allowsNull

( excerpt from http://php

public function allowsNull();

net/manual/en/reflectionparameter.allowsnull.php )

Checks whether the parameter allows NULL. Warning: This function is currently not documented; only its argument list is available.

Return Values

  • mixed - TRUE if NULL is allowed, otherwise FALSE