29 lines
403 B
PHP
29 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====
|