mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
17 lines
326 B
PHP
17 lines
326 B
PHP
--TEST--
|
|
Test function posix_setuid() by calling it with its expected arguments
|
|
--CREDITS--
|
|
Marco Fabbri mrfabbri@gmail.com
|
|
Francesco Fullone ff@ideato.it
|
|
#PHPTestFest Cesena Italia on 2009-06-20
|
|
--EXTENSIONS--
|
|
posix
|
|
--FILE--
|
|
<?php
|
|
|
|
$myuid = posix_getuid();
|
|
$uid = var_dump(posix_setuid( $myuid ) );
|
|
|
|
?>
|
|
--EXPECT--
|
|
bool(true)
|