php-src/ext/posix/tests/posix_getpwuid_basic.phpt
Nikita Popov 7485978339
Migrate SKIPIF -> EXTENSIONS (#7138)
This is an automated migration of most SKIPIF extension_loaded checks.
2021-06-11 11:57:42 +02:00

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====