2
Test function posix_setuid() by substituting argument 1 with boolean values.
5
if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
8
Marco Fabbri mrfabbri@gmail.com
9
Francesco Fullone ff@ideato.it
10
#PHPTestFest Cesena Italia on 2009-06-20
15
echo "*** Test substituting argument 1 with boolean values ***\n";
19
$variation_array = array(
20
'lowercase true' => true,
21
'lowercase false' =>false,
22
'uppercase TRUE' =>TRUE,
23
'uppercase FALSE' =>FALSE,
27
foreach ( $variation_array as $var ) {
28
var_dump(posix_setuid( $var ) );
32
*** Test substituting argument 1 with boolean values ***