mirror of
https://github.com/php/php-src.git
synced 2024-11-27 03:44:07 +08:00
Merge branch 'PHP-7.4'
This commit is contained in:
commit
6342458499
@ -12,9 +12,6 @@ User Group: PHPSP #phptestfestbrasil
|
||||
$uid = posix_geteuid();
|
||||
$user = posix_getpwuid($uid);
|
||||
$username = $user['name'];
|
||||
if (posix_getlogin() == false) {
|
||||
$username = false;
|
||||
}
|
||||
$info = posix_getpwnam($username);
|
||||
print_r($info);
|
||||
var_dump($username == $info['name']);
|
||||
|
Loading…
Reference in New Issue
Block a user