Lines Matching refs:fp
10 $fp = fopen($filename, "r");
11 var_dump(ftruncate($fp, 10));
12 fclose($fp);
15 $fp = fopen($filename, "w");
16 var_dump(ftruncate($fp, 10));
17 fclose($fp);
22 $fp = fopen($filename, "a");
23 var_dump(ftruncate($fp, 10));
24 fclose($fp);
27 $fp = fopen($filename, "a");
28 var_dump(ftruncate($fp, 0));
29 fclose($fp);
34 $fp = fopen($filename, "a");
35 var_dump(ftruncate($fp, -1000000000));
36 fclose($fp);