mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
28 lines
403 B
PHP
28 lines
403 B
PHP
--TEST--
|
|
Test posix_getpwuid() function : basic functionality
|
|
--EXTENSIONS--
|
|
posix
|
|
--FILE--
|
|
<?php
|
|
echo "Basic test of POSIX getpwuid\n";
|
|
|
|
|
|
$pwuid = posix_getpwuid(posix_getuid());
|
|
|
|
print_r($pwuid);
|
|
|
|
?>
|
|
===DONE====
|
|
--EXPECTF--
|
|
Basic test of POSIX getpwuid
|
|
Array
|
|
(
|
|
[name] => %s
|
|
[passwd] => %S
|
|
[uid] => %d
|
|
[gid] => %d
|
|
[gecos] => %S
|
|
[dir] => %s
|
|
[shell] => %s
|
|
)
|
|
===DONE====
|