ReflectionParameter::getDefaultValue

(PHP 5 >= 5.0.3, PHP 7) Gets default parameter value public mixed ReflectionParameter::getDefaultValue ( void ) Gets the default value of the parameter for a user-defined function or method. If the parameter is not optional a ReflectionException will be thrown. Returns: The parameters default value. Notes: Due to implementation details, it

ReflectionParameter::getDeclaringFunction

(PHP 5 >= 5.2.3, PHP 7) Gets declaring function public ReflectionFunctionAbstract ReflectionParameter::getDeclaringFunction ( void ) Gets the declaring function. Returns: A ReflectionFunction object. This function is currently not documented; only its argument list is available. See als

ReflectionParameter::getDeclaringClass

(PHP 5, PHP 7) Gets declaring class public ReflectionClass ReflectionParameter::getDeclaringClass ( void ) Gets the declaring class. Returns: A ReflectionClass object. This function is currently not documented; only its argument list is available. Examples: Getting the class that declared the

ReflectionParameter::getClass

(PHP 5, PHP 7) Get the type hinted class public ReflectionClass ReflectionParameter::getClass ( void ) Gets the class type hinted for the parameter as a ReflectionClass object. Returns: A ReflectionClass object. This function is currently not documented; only its argument list is available. Examples:

ReflectionParameter::export

(PHP 5, PHP 7) Exports public static string ReflectionParameter::export ( string $function, string $parameter [, bool $return ] ) Exports. Parameters: function The function name. parameter The parameter name. return Setting to TRUE will return the export, as opposed to emitting it. Setting to FALSE (t

ReflectionParameter::__construct

(PHP 5, PHP 7) Construct public ReflectionParameter::__construct ( string $function, string $parameter ) Constructs a ReflectionParameter class. Parameters: function The function to reflect parameters from. parameter The parameter. Returns: No value is returned. This functio

ReflectionParameter::__clone

(PHP 5, PHP 7) Clone final private void ReflectionParameter::__clone ( void ) Clones. Returns: This function is currently not documented; only its argument list is available. See also: Object cloning -

ReflectionParameter::canBePassedByValue

(PHP >= 5.4.0) Returns whether this parameter can be passed by value public bool ReflectionParameter::canBePassedByValue ( void ) Returns: Returns TRUE if the parameter can be passed by value, FALSE otherwise. Returns NULL in case of an error. This function is currently not documented; only its argument list is available.

ReflectionParameter::allowsNull

(PHP 5, PHP 7) Checks if null is allowed public bool ReflectionParameter::allowsNull ( void ) Checks whether the parameter allows NULL. Returns: TRUE if NULL is allowed, otherwise FALSE This function is currently not documented; only its argument list is available. See also:

ReflectionObject::export

(PHP 5, PHP 7) Export public static string ReflectionObject::export ( string $argument [, bool $return ] ) Exports a reflection. Parameters: argument The reflection to export. return Setting to TRUE will return the export, as opposed to emitting it. Setting to FALSE (the default) will do the opposite. Returns: