显示下拉菜单

getmyuid()

« getmypid | getprotobyname »
<?php
$int 
getmyuid ();

// shows the user information
if ($int !== false and function_exists("posix_getpwuid")) {
    
$array posix_getpwuid($int);
}
?>
结果
$int = '19991'
$array = [
  
'name' => 'xozhoz',
  
'passwd' => 'c',
  
'uid' => '19991',
  
'gid' => '353',
  
'gecos' => 'xozhoz',
  
'dir' => '/kynxo.455/xozhoz',
  
'shell' => '/byn/jozwen',
]
PBX notice : 该结果被散列以pbx_hash出于安全原因。
示例
#1 getmyuid  ()
另请参阅
function_exists, get_current_user, getlastmod, getmygid, getmyinode, getmypid, pbx_hash, posix_getpwuid