Home
last modified time | relevance | path

Searched refs:fwrite (Results 51 – 75 of 525) sorted by relevance

12345678910>>...21

/php-src/ext/standard/tests/streams/
H A Dbug64166_3.phpt12 fwrite($fd, $data);
24 fwrite($fd, $data);
/php-src/ext/phar/tests/tar/files/
H A Dtarmaker.php.inc110 fwrite($this->tmp, (binary)$block . $checksum . $blockend, 512);
114 fwrite($this->tmp, (binary)str_repeat("\0", 512 - $stat['size'] % 512));
117 fwrite($this->tmp, (binary)$fileOrStream);
119 fwrite($this->tmp, (binary)str_repeat("\0", 512 - strlen($fileOrStream) % 512));
166 fwrite($this->tmp, pack('a1024', ''));
H A Dcorrupt_tarmaker.php.inc118 fwrite($this->tmp, $block . $checksum . $blockend, 512);
122 fwrite($this->tmp, str_repeat("\0", 512 - $stat['size'] % 512));
125 fwrite($this->tmp, $fileOrStream);
127 fwrite($this->tmp, str_repeat("\0", 512 - strlen($fileOrStream) % 512));
174 fwrite($this->tmp, pack('a1024', ''));
H A Dmake.dangerous.tar.php.inc111 fwrite($this->tmp, (binary)$block . $checksum . $blockend, 512);
115 fwrite($this->tmp, (binary)str_repeat("\0", 512 - $stat['size'] % 512));
118 fwrite($this->tmp, (binary)$fileOrStream);
120 fwrite($this->tmp, (binary)str_repeat("\0", 512 - strlen($fileOrStream) % 512));
167 fwrite($this->tmp, pack('a1024', ''));
/php-src/sapi/cli/tests/
H A Dphp_cli_server_008.phpt15 if(fwrite($fp, <<<HEADER
31 if(fwrite($fp, <<<HEADER
H A Dphp_cli_server_013.phpt17 if(fwrite($fp, <<<HEADER
38 if(fwrite($fp, <<<HEADER
56 if(fwrite($fp, <<<HEADER
74 if(fwrite($fp, <<<HEADER
92 if(fwrite($fp, <<<HEADER
110 if(fwrite($fp, <<<HEADER
/php-src/ext/standard/tests/file/
H A Dbug60120.phpt17 $cmd = $php . ' -r "\$in = file_get_contents(\'php://stdin\'); fwrite(STDOUT, \$in); fwrite(STDERR,…
47 $written = fwrite($writePipes[0], substr($stdin, $stdinOffset), 8192);
H A Dfopen_variation6.phpt12 fwrite($h, "This is an absolute file");
16 fwrite($h, "This is a relative file");
H A Dstream_copy_to_stream_interleaved.phpt15 var_dump(fwrite($dest, "foo"));
20 var_dump(fwrite($dest, "bar"));
H A Dfilesize_variation4-win32.phpt22 fwrite($file_handle, $string);
30 fwrite($file_handle, $string);
37 fwrite($file_handle, "Hello, world");
44 fwrite($file_handle, "Hello, world\n");
58 fwrite($file_handle, "Hello\0"); //writing 6 bytes of data
H A Dbug38450.phpt92 fwrite($fp, "line1\n");
93 fwrite($fp, "line2\n");
94 fwrite($fp, "line3\n");
H A Dbug38450_1.phpt92 fwrite($fp, "line1\n");
93 fwrite($fp, "line2\n");
94 fwrite($fp, "line3\n");
H A Dfilesize_variation4.phpt24 fwrite($file_handle, $string);
32 fwrite($file_handle, $string);
39 fwrite($file_handle, "Hello, world");
46 fwrite($file_handle, "Hello, world\n");
60 fwrite($file_handle, "Hello\0"); //writing 6 bytes of data
H A Dfscanf_variation1.phpt17 @fwrite($file_handle, "hello_world ");
18 @fwrite($file_handle, 12345);
H A Dbug38450_2.phpt92 fwrite($fp, "line1\n");
93 fwrite($fp, "line2\n");
94 fwrite($fp, "line3\n");
H A Dfopen_variation5.phpt57 fwrite($h, "in dir2");
69 fwrite($h, "in dir1");
80 fwrite($h, "in working dir");
100 fwrite($h, "in script dir");
H A Dfopen_variation8.phpt56 fwrite($h, "in dir2");
68 fwrite($h, "in dir1");
79 fwrite($h, "in working dir");
99 fwrite($h, "in script dir");
/php-src/ext/standard/tests/filters/
H A Dstream_filter_remove_basic.phpt18 fwrite( $fp, "Testing the rot13 filter which shifts some things around." );
21 fwrite( $fp, "\nadd some more un-filtered foobar\n" );
H A Dbug22538.phpt7 fwrite($fout, fread($fin, 4096));
23 fwrite($fp, $str);
/php-src/benchmark/
H A Dgenerate_diff.php7 fwrite(STDERR, "Usage: php generate_diff.php HEAD_COMMIT_HASH BASE_COMMIT_HASH\n");
66 fwrite(STDOUT, $output);
/php-src/ext/zlib/tests/
H A Dbug75273.phpt35 fwrite($stream, $in_data);
44 $fwrite_len = fwrite($stream, $out_data);
/php-src/ext/standard/tests/general_functions/
H A Dproc_open_sockets1.inc5 fwrite(STDERR, "SOME ERROR");
/php-src/ext/gd/tests/
H A Dimageloadfont_end_of_file_while_reading_header.phpt15 fwrite($fp, $bin);
22 fwrite($fp, $bin);
/php-src/ext/standard/tests/network/
H A Dfsockopen_variation2.phpt17 fwrite($client, "0123456789");
27 fwrite($second_client, "0123456789");
/php-src/ext/spl/tests/
H A Dgh13685.phpt14 $file->fwrite($contents);
28 $file->fwrite($contents);

Completed in 31 milliseconds

12345678910>>...21