Lines Matching refs:filename
21 $filename = dirname(__FILE__) . '/foo.test';
22 $fp = fopen($filename,"w");
26 chmod ($filename, 0000);
27 var_dump(posix_access($filename, POSIX_F_OK));
29 chmod ($filename, 0400);
30 var_dump(posix_access($filename, POSIX_R_OK));
32 chmod ($filename, 0600);
33 var_dump(posix_access($filename, POSIX_W_OK));
35 chmod ($filename, 0700);
36 var_dump(posix_access($filename, POSIX_X_OK));
41 $filename = dirname(__FILE__) . '/foo.test';
42 chmod ($filename, 0700);
43 unlink($filename);