|
posix_getpwuidReturn info about a user by user id Description
arrayfalse posix_getpwuid(int
$user_id)Returns an array of information about the user referenced by the given user ID. Parameters
Return ValuesReturns an associative array with the following elements:
false on failure.
Examples
Example #1 Example use of posix_getpwuid The 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
|