Home
last modified time | relevance | path

Searched refs:fp (Results 251 – 275 of 909) sorted by path

1...<<11121314151617181920>>...37

/PHP-5.5/ext/phar/tests/
H A D022.phpt24 echo 'fseek($fp, 1)';var_dump(fseek($fp, 1));
26 echo 'fseek($fp, 1, SEEK_CUR)';var_dump(fseek($fp, 1, SEEK_CUR));
28 echo 'fseek($fp, -1, SEEK_CUR)';var_dump(fseek($fp, -1, SEEK_CUR));
42 echo 'fseek($fp, 6)';var_dump(fseek($fp, 6));
44 echo 'fseek($fp, 8)';var_dump(fseek($fp, 8));
46 echo 'fseek($fp, -1)';var_dump(fseek($fp, -1));
49 fseek($fp, 4);
53 fseek($fp, 4);
57 fseek($fp, 4);
61 fseek($fp, 4);
[all …]
H A Dopen_for_write_existing.phpt20 $fp = fopen($pname . '/b/c.php', 'wb');
21 fwrite($fp, b'extra');
22 fclose($fp);
H A Dopen_for_write_existing_b.phpt29 $fp = fopen($pname . '/b/c.php', 'wb');
30 fwrite($fp, 'extra');
31 fclose($fp);
H A Dopen_for_write_existing_b_5_2.phpt27 $fp = fopen($pname . '/b/c.php', 'wb');
28 fwrite($fp, 'extra');
29 fclose($fp);
H A Dopen_for_write_existing_c.phpt23 $fp = fopen($pname . '/b/c.php', 'wb');
24 fwrite($fp, 'extra');
25 fclose($fp);
H A Dopen_for_write_existing_c_5_2.phpt21 $fp = fopen($pname . '/b/c.php', 'wb');
22 fwrite($fp, 'extra');
23 fclose($fp);
H A Dopen_for_write_newfile.phpt20 $fp = fopen($pname . '/b/new.php', 'wb');
21 fwrite($fp, b'extra');
22 fclose($fp);
H A Dopen_for_write_newfile_b.phpt29 $fp = fopen($pname . '/b/new.php', 'wb');
30 fwrite($fp, 'extra');
31 fclose($fp);
H A Dopen_for_write_newfile_b_5_2.phpt27 $fp = fopen($pname . '/b/new.php', 'wb');
28 fwrite($fp, 'extra');
29 fclose($fp);
H A Dopen_for_write_newfile_c.phpt23 $fp = fopen($pname . '/b/new.php', 'wb');
24 fwrite($fp, 'extra');
25 fclose($fp);
H A Dopen_for_write_newfile_c_5_2.phpt21 $fp = fopen($pname . '/b/new.php', 'wb');
22 fwrite($fp, 'extra');
23 fclose($fp);
H A Dphar_createdefaultstub.phpt151 $fp = fopen(__FILE__, 'rb');
152 fseek($fp, self::LEN);
282 $data .= @fread($fp, $c);
286 $data .= @fread($fp, 8192);
445 $fp = fopen(__FILE__, 'rb');
446 fseek($fp, self::LEN);
576 $data .= @fread($fp, $c);
580 $data .= @fread($fp, 8192);
748 fseek($fp, self::LEN);
878 $data .= @fread($fp, $c);
[all …]
H A Dphar_ctx_001.phpt52 $fp = fopen($pname . '/b', 'r+', 0, $context2);
53 fclose($fp);
H A Dphar_setdefaultstub.phpt171 $fp = fopen(__FILE__, 'rb');
172 fseek($fp, self::LEN);
302 $data .= @fread($fp, $c);
306 $data .= @fread($fp, 8192);
466 $fp = fopen(__FILE__, 'rb');
467 fseek($fp, self::LEN);
597 $data .= @fread($fp, $c);
601 $data .= @fread($fp, 8192);
762 fseek($fp, self::LEN);
892 $data .= @fread($fp, $c);
[all …]
H A Dphar_stub.phpt25 fclose($fp);
33 fclose($fp);
38 fwrite($fp, $file);
39 fclose($fp);
43 $phar->setStub($fp);
44 fclose($fp);
48 fclose($fp);
52 fclose($fp);
59 fclose($fp);
66 fclose($fp);
[all …]
H A Drefcount1.phpt22 $fp = fopen($pname . '/b/c.php', 'wb');
23 fwrite($fp, b"extra");
24 fclose($fp);
/PHP-5.5/ext/phar/tests/cache_list/files/
H A Dnophar.phar115 $fp = fopen(__FILE__, 'rb');
116 fseek($fp, self::LEN);
117 $L = unpack('V', $a = (binary)fread($fp, 4));
125 $last = (binary)fread($fp, $read);
183 file_put_contents($temp . '/' . $path, self::extractFile($path, $file, $fp));
239 static function extractFile($path, $entry, $fp)
246 $data .= @fread($fp, $c);
250 $data .= @fread($fp, 8192);
H A Dopenssl.phar115 $fp = fopen(__FILE__, 'rb');
116 fseek($fp, self::LEN);
117 $L = unpack('V', $a = (binary)fread($fp, 4));
125 $last = (binary)fread($fp, $read);
183 file_put_contents($temp . '/' . $path, self::extractFile($path, $file, $fp));
239 static function extractFile($path, $entry, $fp)
246 $data .= @fread($fp, $c);
250 $data .= @fread($fp, 8192);
H A Dphar_test.inc67 $fp = gzopen($fname, 'w');
68 fwrite($fp, $file);
69 fclose($fp);
73 $fp = bzopen($fname, 'w');
74 fwrite($fp, $file);
75 fclose($fp);
H A Dwrite24.phar4 $fp = fopen("phar://" . __FILE__ . "/newname", "w");
5 fwrite($fp, b"hi");
6 fclose($fp);
H A Dwrite24.phar.inc10 $fp = fopen("phar://" . __FILE__ . "/newname", "w");
11 fwrite($fp, b"hi");
12 fclose($fp);
/PHP-5.5/ext/phar/tests/files/
H A Dinclude_path2.phar115 $fp = fopen(__FILE__, 'rb');
116 fseek($fp, self::LEN);
117 $L = unpack('V', $a = (binary)fread($fp, 4));
125 $last = (binary)fread($fp, $read);
183 file_put_contents($temp . '/' . $path, self::extractFile($path, $file, $fp));
239 static function extractFile($path, $entry, $fp)
246 $data .= @fread($fp, $c);
250 $data .= @fread($fp, 8192);
H A Dnophar.phar115 $fp = fopen(__FILE__, 'rb');
116 fseek($fp, self::LEN);
117 $L = unpack('V', $a = (binary)fread($fp, 4));
125 $last = (binary)fread($fp, $read);
183 file_put_contents($temp . '/' . $path, self::extractFile($path, $file, $fp));
239 static function extractFile($path, $entry, $fp)
246 $data .= @fread($fp, $c);
250 $data .= @fread($fp, 8192);
H A Dopenssl.phar115 $fp = fopen(__FILE__, 'rb');
116 fseek($fp, self::LEN);
117 $L = unpack('V', $a = (binary)fread($fp, 4));
125 $last = (binary)fread($fp, $read);
183 file_put_contents($temp . '/' . $path, self::extractFile($path, $file, $fp));
239 static function extractFile($path, $entry, $fp)
246 $data .= @fread($fp, $c);
250 $data .= @fread($fp, 8192);
H A Dphar_test.inc67 $fp = gzopen($fname, 'w');
68 fwrite($fp, $file);
69 fclose($fp);
73 $fp = bzopen($fname, 'w');
74 fwrite($fp, $file);
75 fclose($fp);

Completed in 44 milliseconds

1...<<11121314151617181920>>...37