Lines Matching refs:touch
2 Test touch() function : basic functionality
13 /* Prototype : proto bool touch(string filename [, int time [, int atime]])
19 echo "*** Testing touch() : basic functionality ***\n";
21 $filename = dirname(__FILE__)."/touch.dat";
23 echo "\n--- testing touch creates a file ---\n";
28 var_dump( touch($filename) );
33 echo "\n --- testing touch doesn't alter file contents ---\n";
38 touch($filename);
43 echo "\n\n --- testing touch alters the correct file metadata ---\n";
47 touch($filename);
64 // Calling touch() with all possible arguments
65 echo "\n --- testing touch using all parameters ---\n";
66 var_dump( touch($filename, $time, $atime) );
78 *** Testing touch() : basic functionality ***
80 --- testing touch creates a file ---
83 --- testing touch doesn't alter file contents ---
86 --- testing touch alters the correct file metadata ---
90 --- testing touch using all parameters ---