| PHP » GoLang | login |
            register |
            
            about | 
| GoLang ReflectionParameter::__construct
                                request it (536)
                            GoLang replacement for PHP's ReflectionParameter::__construct
                            [edit | history] 
                             PHP ReflectionParameter::__constructPHP original manual for ReflectionParameter::__construct [ show | php.net ]ReflectionParameter::__construct(PHP 5, PHP 7) ReflectionParameter::__construct — Construct Description
   public ReflectionParameter::__construct
    ( string  $function, string$parameter)Constructs a ReflectionParameter class. Warning This function is currently not documented; only its argument list is available. Parameters
 
 Return ValuesNo value is returned. Examples
 Example #1 Using the ReflectionParameter class 
<?phpThe above example will output something similar to: 
Function [ <user> function foo ] {
  @@ /Users/philip/cvs/phpdoc/a 2 - 2
  - Parameters [3] {
    Parameter #0 [ <required> $a ]
    Parameter #1 [ <required> $b ]
    Parameter #2 [ <required> $c ]
  }
}
-- Parameter #0: a {
   Class: NULL
   Allows NULL: true
   Passed to by reference: false
   Is optional?: no
}
-- Parameter #1: b {
   Class: NULL
   Allows NULL: true
   Passed to by reference: false
   Is optional?: no
}
-- Parameter #2: c {
   Class: NULL
   Allows NULL: true
   Passed to by reference: false
   Is optional?: no
}
See Also
 
 | 
                    more
                     Most requested
 
                    more
                     Last requests
 |