Lines Matching refs:fileperms
2 Test fileperms(), chmod() functions: error conditions
23 Prototype: int fileperms ( string $filename )
31 echo "*** Testing error conditions for fileperms(), chmod() ***\n";
35 printf("%o", fileperms("/etc/passwd") );
40 printf("%o", fileperms("/etc") );
46 var_dump( fileperms("/no/such/file/dir") );
55 var_dump( fileperms() );
59 var_dump( fileperms(dirname(__FILE__)."/006_error.tmp", 0777) );
60 var_dump( fileperms("nofile", 0777) );
69 *** Testing error conditions for fileperms(), chmod() ***
82 Warning: fileperms(): stat failed for /no/such/file/dir in %s on line %d
95 Warning: fileperms() expects exactly 1 parameter, 0 given in %s on line %d
101 Warning: fileperms() expects exactly 1 parameter, 2 given in %s on line %d
104 Warning: fileperms() expects exactly 1 parameter, 2 given in %s on line %d