Home
last modified time | relevance | path

Searched refs:fwrite (Results 26 – 50 of 513) sorted by relevance

12345678910>>...21

/PHP-7.1/ext/standard/tests/file/
H A Dfwrite_variation3.phpt2 Test fwrite() function : usage variations - a, ab, at, a+, a+b & a+t modes
12 Prototype: int fwrite ( resource $handle,string string, [, int $length] );
20 echo "*** Testing fwrite() various operations ***\n";
26 Test fwrite with file opened in mode : a,ab,at,a+,a+b,a+t
37 /* open the file using $files_modes and perform fwrite() on it */
59 var_dump( fwrite($file_handle,$data_to_be_written,400) );
66 var_dump( fwrite($file_handle, $data_to_be_written, 200) );
84 *** Testing fwrite() various operations ***
86 -- Testing fwrite() with file having content of type numeric --
160 -- Testing fwrite() with file having content of type text --
[all …]
H A Dbug68532.phpt7 fwrite($stream, $testString);
14 fwrite($fileStream , $testString);
H A Dbug60120.phpt22 $cmd = 'php -r "fwrite(STDOUT, $in = file_get_contents(\'php://stdin\')); fwrite(STDERR, $in);"';
52 $written = fwrite($writePipes[0], (binary)substr($stdin, $stdinOffset), 8192);
H A Dbug38450.phpt91 fwrite($fp, b"line1\n");
92 fwrite($fp, b"line2\n");
93 fwrite($fp, b"line3\n");
H A Dbug38450_1.phpt91 fwrite($fp, b"line1\n");
92 fwrite($fp, b"line2\n");
93 fwrite($fp, b"line3\n");
H A Dfilesize_variation4-win32.phpt27 fwrite($file_handle, $string);
35 fwrite($file_handle, $string);
42 fwrite($file_handle, "Hello, world");
49 fwrite($file_handle, "Hello, world\n");
63 fwrite($file_handle, "Hello\0"); //wrting 6 bytes of data
/PHP-7.1/ext/mbstring/ucgendat/
H A Ducgendat.c1405 fwrite((char *) hdr, sizeof(ac_uint2), 2, out); in write_cdata()
1410 fwrite((char *) &bytes, sizeof(ac_uint4), 1, out); in write_cdata()
1488 fwrite((char *) hdr, sizeof(ac_uint2), 2, out); in write_cdata()
1561 fwrite((char *) hdr, sizeof(ac_uint2), 2, out); in write_cdata()
1567 fwrite((char *) &bytes, sizeof(ac_uint4), 1, out); in write_cdata()
1638 fwrite((char *) hdr, sizeof(ac_uint2), 2, out); in write_cdata()
1645 fwrite((char *) &bytes, sizeof(ac_uint4), 1, out); in write_cdata()
1731 fwrite((char *) hdr, sizeof(ac_uint2), 2, out); in write_cdata()
1738 fwrite((char *) &bytes, sizeof(ac_uint4), 1, out); in write_cdata()
1815 fwrite((char *) hdr, sizeof(ac_uint2), 2, out); in write_cdata()
[all …]
/PHP-7.1/ext/spl/tests/
H A DSplFileObject_fwrite_variation_001.phpt2 SplFileObject::fwrite function - writing with two parameters length < input string length
10 $obj->fwrite('test_write',4);
H A DSplFileObject_fwrite_variation_002.phpt2 SplFileObject::fwrite function - writing with two parameters, length > input string length
10 $obj->fwrite('test_write',12);
H A Dfileobject_005.phpt15 $fo->fwrite("blahlubba");
22 $fo->fwrite("blahlubba");
/PHP-7.1/ext/standard/tests/streams/
H A Duser_streams_consumed_bug.phpt19 $out = fwrite(STDOUT, "Hello\n");
25 $out = fwrite(STDOUT, "Goodbye\n");
H A Dbug69521.phpt13 $written += fwrite($fp, substr($data, $written, 100));
17 fwrite($link, "Sending bug 69521\n");
H A Dbug64166_3.phpt12 fwrite($fd, $data);
24 fwrite($fd, $data);
/PHP-7.1/ext/standard/tests/filters/
H A Dfilter_errors.inc20 fwrite($stream, b".\r\n$data");
30 fwrite($stream, b"$data");
/PHP-7.1/ext/standard/tests/image/
H A Dbug70096.phpt18 fwrite($fp, $content1);
22 fwrite($fp, $content2);
/PHP-7.1/sapi/cli/tests/
H A Dphp_cli_server_009.phpt23 if(fwrite($fp, <<<HEADER
43 if(fwrite($fp, <<<HEADER
63 if(fwrite($fp, <<<HEADER
H A Dupload_2G.phpt55 fwrite($fp, <<<EOF
67 fwrite($fp, $data) or die("write failed @ ($i)");
70 fwrite($fp, $post) or die("write post failed");
H A Dphp_cli_server_008.phpt20 if(fwrite($fp, <<<HEADER
40 if(fwrite($fp, <<<HEADER
/PHP-7.1/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-7.1/ext/oci8/tests/
H A Dbug70700.phpt52 fwrite($fh, $data, strlen($data)); // fwrite(a, b, $bytes)
83 fwrite($fh, $data, strlen($data)); // fwrite(a, b, $bytes)
114 fwrite($fh, $data, strlen($data)); // fwrite(a, b, $bytes)
145 fwrite($fh, $data, strlen($data)); // fwrite(a, b, $bytes)
/PHP-7.1/ext/mysqli/tests/
H A Dlocal_infile_tools.inc63 if (!fwrite($fp, (binary)"'97';'x';\n") ||
64 !fwrite($fp, (binary)"'98';'y';\n") ||
65 !fwrite($fp, (binary)"99;'z';\n")) {
71 if (!fwrite($fp, "97;'x';\n") ||
72 !fwrite($fp, "98;'y';\n") ||
73 !fwrite($fp, "99;'z';\n")) {
/PHP-7.1/ext/zlib/tests/
H A Dbug75273.phpt37 fwrite($stream, $in_data);
46 $fwrite_len = fwrite($stream, $out_data);
/PHP-7.1/ext/standard/tests/network/
H A Dfsockopen_variation2.phpt17 fwrite($client, "0123456789");
27 fwrite($second_client, "0123456789");

Completed in 69 milliseconds

12345678910>>...21