PHP » GoLang |
login |
register |
about
|
GoLang ReflectionParameter::getDefaultValue
request it (331)
GoLang replacement for PHP's ReflectionParameter::getDefaultValue
[edit | history]
PHP ReflectionParameter::getDefaultValuePHP original manual for ReflectionParameter::getDefaultValue [ show | php.net ]ReflectionParameter::getDefaultValue(PHP 5 >= 5.0.3, PHP 7) ReflectionParameter::getDefaultValue — Gets default parameter value DescriptionGets the default value of the parameter for a user-defined function or method. If the parameter is not optional a ReflectionException will be thrown. ParametersThis function has no parameters. Return ValuesThe parameters default value. Examples
Example #1 Getting
<?php The above example will output: Name: test Name: bar Default value: baz Notes
See Also
|
more
Recently updated
more
Most requested
more
Last requests
|