Display the drop-down list

posix_getuid()

« posix_getpwuid | pow »
<?php
$int 
posix_getuid ();

// shows the user information
if ($int !== false and function_exists("posix_getpwuid")) {
    
$array posix_getpwuid($int);
}
?>
Result
$int = '19991'
$array = [
  
'name' => 'xozhoz',
  
'passwd' => 'c',
  
'uid' => '19991',
  
'gid' => '353',
  
'gecos' => 'xozhoz',
  
'dir' => '/kynxo.455/xozhoz',
  
'shell' => '/byn/jozwen',
]
PBX notice : the result is hashed with pbx_hash for security reasons.
Examples
#1 posix_getuid  ()
See also
function_exists, getmyuid, pbx_hash, posix_getpwuid