| 
 | posix_getpwuidReturn info about a user by user id Description
   array posix_getpwuid
    ( int  $uid)Returns an array of information about the user referenced by the given user ID. Parameters
 
 Return ValuesReturns an associative array with the following elements: 
 Examples
 Example #1 Example use of posix_getpwuid 
<?phpThe above example will output something similar to: 
Array
(
    [name]    => tom
    [passwd]  => x
    [uid]     => 10000
    [gid]     => 42
    [gecos]   => "tom,,,"
    [dir]     => "/home/tom"
    [shell]   => "/bin/bash"
)
See Also
 
 |