Lines Matching refs:fp
18 $fp = $zip->getStream('bar');
19 if(!$fp) exit("\n");
20 var_dump($fp);
22 var_dump(fseek($fp, 1, SEEK_SET));
23 var_dump(fread($fp, 2));
24 var_dump(ftell($fp));
25 var_dump(fseek($fp, 0, SEEK_SET));
26 var_dump(fread($fp, 2));
27 var_dump(ftell($fp));
29 fclose($fp);
32 $fp = $zip->getStream('entry1.txt');
33 if(!$fp) exit("\n");
34 var_dump($fp);
36 var_dump(fseek($fp, 2, SEEK_SET));
37 var_dump(fread($fp, 2));
38 fclose($fp);
44 $fp = fopen('zip://' . __DIR__ . '/test.zip#bar', 'rb');
45 if(!$fp) exit("\n");
46 var_dump($fp);
47 var_dump(fseek($fp, 1, SEEK_SET));
48 var_dump(fread($fp, 2));
49 var_dump(ftell($fp));
50 var_dump(fseek($fp, 0, SEEK_SET));
51 var_dump(fread($fp, 2));
52 var_dump(ftell($fp));
53 fclose($fp);