ReflectionParameter::allowsNull

Checks if null is allowed

Description

public bool ReflectionParameter::allowsNull()

Checks whether the parameter allows null.

Parameters

This function has no parameters.

Return Values

true if null is allowed, otherwise false

See Also

  • ReflectionParameter::isOptional