Lines Matching refs:filename
11 /* Prototype : bool unlink ( string $filename [, resource $context] );
12 Description : Deletes filename
24 // temp filename used here
25 $filename = "$dirname/unlink_variation1-win32.tmp";
31 $fp = fopen($filename, "w");
38 // now try deleting $filename
39 var_dump( unlink($filename) ); // expected: true
40 var_dump( file_exists($filename) ); // confirm file is deleted
51 $fp = fopen($filename, "w");
55 var_dump( chmod($filename, 0444) );
58 var_dump( unlink($filename) ); // expected: false
61 chmod($filename, 0777);
63 var_dump( unlink($filename) );
64 var_dump( file_exists($filename) ); // confirm file is deleted