18 lines
326 B
Plaintext
18 lines
326 B
Plaintext
|
|
--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)
|