blob: 3d3f7f8caed151f72ca1f60e16bb9b9ab047d968 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
--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
--SKIPIF--
<?php
if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
?>
--FILE--
<?php
$myuid = posix_getuid();
$uid = var_dump(posix_setuid( $myuid ) );
?>
--EXPECTF--
bool(true)
|