PHP Manual

  • English French German Portuguese Spanish
PHP Manual Function Reference Variable and Type Related Extensions Reflection ReflectionParameter ReflectionParameter::allowsNull
ReflectionParameter ReflectionParameter::allowsNull ReflectionParameter::canBePassedByValue ReflectionParameter::__clone ReflectionParameter::__construct ReflectionParameter::export ReflectionParameter::getClass ReflectionParameter::getDeclaringClass ReflectionParameter::getDeclaringFunction ReflectionParameter::getDefaultValue ReflectionParameter::getDefaultValueConstantName ReflectionParameter::getName ReflectionParameter::getPosition ReflectionParameter::isArray ReflectionParameter::isCallable ReflectionParameter::isDefaultValueAvailable ReflectionParameter::isDefaultValueConstant ReflectionParameter::isOptional ReflectionParameter::isPassedByReference ReflectionParameter::isVariadic ReflectionParameter::__toString
  • ReflectionParameter
  • ReflectionParameter::canBePassedByValue

ReflectionParameter::allowsNull

(PHP 5)

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

© Copyright © 2001-2015 The PHP Group.

© Copyright 2014. Diseñado por PHP Manual usando jfCMS.