Lines Matching refs:fp
22 $fp = fopen('phar://hio/a', 'r');
23 var_dump(ftell($fp));
24 echo 'fseek($fp, 1)';var_dump(fseek($fp, 1));
25 var_dump(ftell($fp));
26 echo 'fseek($fp, 1, SEEK_CUR)';var_dump(fseek($fp, 1, SEEK_CUR));
27 var_dump(ftell($fp));
28 echo 'fseek($fp, -1, SEEK_CUR)';var_dump(fseek($fp, -1, SEEK_CUR));
29 var_dump(ftell($fp));
30 echo 'fseek($fp, -1, SEEK_END)';var_dump(fseek($fp, -1, SEEK_END));
31 var_dump(ftell($fp));
32 echo 'fseek($fp, -8, SEEK_END)';var_dump(fseek($fp, -8, SEEK_END));
33 var_dump(ftell($fp));
34 echo 'fseek($fp, -7, SEEK_END)';var_dump(fseek($fp, -7, SEEK_END));
35 var_dump(ftell($fp));
36 echo 'fseek($fp, 0, SEEK_END)';var_dump(fseek($fp, 0, SEEK_END));
37 var_dump(ftell($fp));
38 echo 'fseek($fp, 1, SEEK_END)';var_dump(fseek($fp, 1, SEEK_END));
39 var_dump(ftell($fp));
40 echo 'fseek($fp, -8, SEEK_END)';var_dump(fseek($fp, -8, SEEK_END));
41 var_dump(ftell($fp));
42 echo 'fseek($fp, 6)';var_dump(fseek($fp, 6));
43 var_dump(ftell($fp));
44 echo 'fseek($fp, 8)';var_dump(fseek($fp, 8));
45 var_dump(ftell($fp));
46 echo 'fseek($fp, -1)';var_dump(fseek($fp, -1));
47 var_dump(ftell($fp));
49 fseek($fp, 4);
50 var_dump(ftell($fp));
51 echo 'fseek($fp, -5, SEEK_CUR)';var_dump(fseek($fp, -5, SEEK_CUR));
52 var_dump(ftell($fp));
53 fseek($fp, 4);
54 var_dump(ftell($fp));
55 echo 'fseek($fp, 5, SEEK_CUR)';var_dump(fseek($fp, 5, SEEK_CUR));
56 var_dump(ftell($fp));
57 fseek($fp, 4);
58 var_dump(ftell($fp));
59 echo 'fseek($fp, -4, SEEK_CUR)';var_dump(fseek($fp, -4, SEEK_CUR));
60 var_dump(ftell($fp));
61 fseek($fp, 4);
62 var_dump(ftell($fp));
63 echo 'fseek($fp, 3, SEEK_CUR)';var_dump(fseek($fp, 3, SEEK_CUR));
64 var_dump(ftell($fp));
65 fclose($fp);
74 fseek($fp, 1)int(0)
76 fseek($fp, 1, SEEK_CUR)int(0)
78 fseek($fp, -1, SEEK_CUR)int(0)
80 fseek($fp, -1, SEEK_END)int(0)
82 fseek($fp, -8, SEEK_END)int(-1)
84 fseek($fp, -7, SEEK_END)int(0)
86 fseek($fp, 0, SEEK_END)int(0)
88 fseek($fp, 1, SEEK_END)int(-1)
90 fseek($fp, -8, SEEK_END)int(-1)
92 fseek($fp, 6)int(0)
94 fseek($fp, 8)int(-1)
96 fseek($fp, -1)int(-1)
100 fseek($fp, -5, SEEK_CUR)int(-1)
103 fseek($fp, 5, SEEK_CUR)int(-1)
106 fseek($fp, -4, SEEK_CUR)int(0)
109 fseek($fp, 3, SEEK_CUR)int(0)