Lines Matching refs:filename
22 $filename = dirname(__FILE__) . '/foo.test';
23 $fp = fopen($filename,"w");
27 chmod ($filename, 0000);
28 var_dump(posix_access($filename, POSIX_F_OK));
30 chmod ($filename, 0400);
31 var_dump(posix_access($filename, POSIX_R_OK));
33 chmod ($filename, 0600);
34 var_dump(posix_access($filename, POSIX_W_OK));
36 chmod ($filename, 0700);
37 var_dump(posix_access($filename, POSIX_X_OK));
42 $filename = dirname(__FILE__) . '/foo.test';
43 chmod ($filename, 0700);
44 unlink($filename);