Lines Matching refs:filename
11 /* Prototype : bool unlink ( string $filename [, resource $context] );
12 Description : Deletes filename
25 // temp filename used here
26 $filename = "$dirname/unlink_variation1-win32.tmp";
32 $fp = fopen($filename, "w");
39 // now try deleting $filename
40 var_dump( unlink($filename) ); // expected: true
41 var_dump( file_exists($filename) ); // confirm file is deleted
52 $fp = fopen($filename, "w");
56 var_dump( chmod($filename, 0444) );
59 var_dump( unlink($filename) ); // expected: false
62 chmod($filename, 0777);
64 var_dump( unlink($filename) );
65 var_dump( file_exists($filename) ); // confirm file is deleted