Lines Matching refs:to
10 function rename($from, $to) {
11 print "Renaming $from to $to\n";
36 unlink('test://example.com/path/to/file');
37 rename('test://example.com/path/to/from', 'test://example.com/path/to/to');
38 /* We *want* this to fail and thus not output the watch statement */
39 @rename('test://example.com/path/to/from', 'http://example.com/path/to/to');
40 mkdir('test://example.com/path/to/directory', 0755);
41 rmdir('test://example.com/path/to/directory');
42 print_r(stat('test://example.com/path/to/file'));
43 echo "Filesize = " . filesize('test://example.com/path/to/file') . "\n";
44 echo "filemtime = " . filemtime('test://example.com/path/to/file') . "\n";
47 Unlinking file: test://example.com/path/to/file
48 Renaming test://example.com/path/to/from to test://example.com/path/to/to
49 Making directory: test://example.com/path/to/directory as 755
50 Removing directory: test://example.com/path/to/directory
51 Stating file: test://example.com/path/to/file