dis-bench / src /php /php-src /ext /posix /tests /posix_getpwuid_basic.phpt
meddyrat's picture
Replace repository contents with the original corrected artifact
1e94262
Raw History Blame Contribute Delete
403 Bytes
--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====