Lines Matching refs:filename
11 /* Prototype : bool unlink ( string $filename [, resource $context] );
12 Description : Deletes filename
17 $filename = "$file_path/unlink_error.tmp"; // temp file name used here
18 $fp = fopen($filename, "w"); // create file
30 var_dump( unlink($filename, $context, true) );
31 var_dump( file_exists($filename) ); // expected: true
35 var_dump( unlink('') ); // $filename as empty string
38 var_dump( unlink(NULL) ); // $filename as NULL
41 var_dump( unlink(false) ); // $filename as boolean false
44 var_dump( unlink($filename, '') ); // $context as empty string
45 var_dump( unlink($filename, false) ); // $context as boolean false
46 var_dump( unlink($filename, NULL) ); // $context as NULL