Lines Matching refs:fp
22 $fp = fopen($fname, 'rb');
24 echo fread($fp, strlen($file)) . "\n";
25 fclose($fp);
31 $fp = fopen($fname, 'rb');
32 echo fread($fp, strlen($file)) . "\n";
33 fclose($fp);
37 $fp = fopen($fname2, 'wb');
38 fwrite($fp, $file);
39 fclose($fp);
40 $fp = fopen($fname2, 'rb');
43 $phar->setStub($fp);
44 fclose($fp);
46 $fp = fopen($fname, 'rb');
47 echo fread($fp, strlen($file)) . "\n";
48 fclose($fp);
50 $fp = fopen($fname2, 'ab');
51 fwrite($fp, b'booya');
52 fclose($fp);
55 $fp = fopen($fname2, 'rb');
58 $phar->setStub($fp, strlen($file));
59 fclose($fp);
61 $fp = fopen($fname, 'rb');
62 echo fread($fp, strlen($file)) . "\n";
63 if (fread($fp, strlen('booya')) == 'booya') {
66 fclose($fp);
70 $fp = fopen($fname, 'rb');
71 echo fread($fp, strlen($file)) . "\n";
72 if (fread($fp, strlen('booya')) == 'booya') {
75 fclose($fp);