Lines Matching refs:fp

23 $fp = fopen('phar://hio/a', 'r');
24 var_dump(ftell($fp));
25 echo 'fseek($fp, 1)';var_dump(fseek($fp, 1));
26 var_dump(ftell($fp));
27 echo 'fseek($fp, 1, SEEK_CUR)';var_dump(fseek($fp, 1, SEEK_CUR));
28 var_dump(ftell($fp));
29 echo 'fseek($fp, -1, SEEK_CUR)';var_dump(fseek($fp, -1, SEEK_CUR));
30 var_dump(ftell($fp));
31 echo 'fseek($fp, -1, SEEK_END)';var_dump(fseek($fp, -1, SEEK_END));
32 var_dump(ftell($fp));
33 echo 'fseek($fp, -8, SEEK_END)';var_dump(fseek($fp, -8, SEEK_END));
34 var_dump(ftell($fp));
35 echo 'fseek($fp, -7, SEEK_END)';var_dump(fseek($fp, -7, SEEK_END));
36 var_dump(ftell($fp));
37 echo 'fseek($fp, 0, SEEK_END)';var_dump(fseek($fp, 0, SEEK_END));
38 var_dump(ftell($fp));
39 echo 'fseek($fp, 1, SEEK_END)';var_dump(fseek($fp, 1, SEEK_END));
40 var_dump(ftell($fp));
41 echo 'fseek($fp, -8, SEEK_END)';var_dump(fseek($fp, -8, SEEK_END));
42 var_dump(ftell($fp));
43 echo 'fseek($fp, 6)';var_dump(fseek($fp, 6));
44 var_dump(ftell($fp));
45 echo 'fseek($fp, 8)';var_dump(fseek($fp, 8));
46 var_dump(ftell($fp));
47 echo 'fseek($fp, -1)';var_dump(fseek($fp, -1));
48 var_dump(ftell($fp));
50 fseek($fp, 4);
51 var_dump(ftell($fp));
52 echo 'fseek($fp, -5, SEEK_CUR)';var_dump(fseek($fp, -5, SEEK_CUR));
53 var_dump(ftell($fp));
54 fseek($fp, 4);
55 var_dump(ftell($fp));
56 echo 'fseek($fp, 5, SEEK_CUR)';var_dump(fseek($fp, 5, SEEK_CUR));
57 var_dump(ftell($fp));
58 fseek($fp, 4);
59 var_dump(ftell($fp));
60 echo 'fseek($fp, -4, SEEK_CUR)';var_dump(fseek($fp, -4, SEEK_CUR));
61 var_dump(ftell($fp));
62 fseek($fp, 4);
63 var_dump(ftell($fp));
64 echo 'fseek($fp, 3, SEEK_CUR)';var_dump(fseek($fp, 3, SEEK_CUR));
65 var_dump(ftell($fp));
66 fclose($fp);
75 fseek($fp, 1)int(0)
77 fseek($fp, 1, SEEK_CUR)int(0)
79 fseek($fp, -1, SEEK_CUR)int(0)
81 fseek($fp, -1, SEEK_END)int(0)
83 fseek($fp, -8, SEEK_END)int(-1)
85 fseek($fp, -7, SEEK_END)int(0)
87 fseek($fp, 0, SEEK_END)int(0)
89 fseek($fp, 1, SEEK_END)int(-1)
91 fseek($fp, -8, SEEK_END)int(-1)
93 fseek($fp, 6)int(0)
95 fseek($fp, 8)int(-1)
97 fseek($fp, -1)int(-1)
101 fseek($fp, -5, SEEK_CUR)int(-1)
104 fseek($fp, 5, SEEK_CUR)int(-1)
107 fseek($fp, -4, SEEK_CUR)int(0)
110 fseek($fp, 3, SEEK_CUR)int(0)