1--TEST-- 2Test function posix_setuid() by calling it with its expected arguments 3--CREDITS-- 4Marco Fabbri mrfabbri@gmail.com 5Francesco Fullone ff@ideato.it 6#PHPTestFest Cesena Italia on 2009-06-20 7--SKIPIF-- 8<?php 9 if(!extension_loaded("posix")) print "skip - POSIX extension not loaded"; 10?> 11--FILE-- 12<?php 13 14$myuid = posix_getuid(); 15$uid = var_dump(posix_setuid( $myuid ) ); 16 17?> 18--EXPECT-- 19bool(true) 20