Home
last modified time | relevance | path

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

12345678910>>...21

/PHP-7.2/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], substr($stdin, $stdinOffset), 8192);
H A Dbug38450.phpt91 fwrite($fp, "line1\n");
92 fwrite($fp, "line2\n");
93 fwrite($fp, "line3\n");
H A Dbug38450_1.phpt91 fwrite($fp, "line1\n");
92 fwrite($fp, "line2\n");
93 fwrite($fp, "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.2/ext/mbstring/ucgendat/
H A Ducgendat.c1419 fwrite((char *) hdr, sizeof(ac_uint2), 2, out); in write_cdata()
1424 fwrite((char *) &bytes, sizeof(ac_uint4), 1, out); in write_cdata()
1502 fwrite((char *) hdr, sizeof(ac_uint2), 2, out); in write_cdata()
1575 fwrite((char *) hdr, sizeof(ac_uint2), 2, out); in write_cdata()
1581 fwrite((char *) &bytes, sizeof(ac_uint4), 1, out); in write_cdata()
1652 fwrite((char *) hdr, sizeof(ac_uint2), 2, out); in write_cdata()
1659 fwrite((char *) &bytes, sizeof(ac_uint4), 1, out); in write_cdata()
1745 fwrite((char *) hdr, sizeof(ac_uint2), 2, out); in write_cdata()
1752 fwrite((char *) &bytes, sizeof(ac_uint4), 1, out); in write_cdata()
1829 fwrite((char *) hdr, sizeof(ac_uint2), 2, out); in write_cdata()
[all …]
/PHP-7.2/ext/sqlite3/tests/
H A Dsqlite3_30_blobopen.phpt29 var_dump(fwrite($stream, 'ABCD'));
36 var_dump(fwrite($stream, 'ABCD'));
41 var_dump(fwrite($stream, 'ABCD ABCD ABCD'));
62 Warning: fwrite(): Can't write to blob stream: is open as read only in %s on line %d
74 Warning: fwrite(): It is not possible to increase the size of a BLOB in %s on line %d
/PHP-7.2/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.2/ext/openssl/tests/
H A Dbug77390.phpt63 fwrite($conn, 'warmup');
65 fwrite($conn, 'hello, world');
90 fwrite($upstream, $data);
95 fwrite($conn, $part);
99 fwrite($conn, $data);
/PHP-7.2/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.2/ext/standard/tests/filters/
H A Dfilter_errors.inc20 fwrite($stream, ".\r\n$data");
30 fwrite($stream, "$data");
/PHP-7.2/ext/standard/tests/image/
H A Dbug70096.phpt18 fwrite($fp, $content1);
22 fwrite($fp, $content2);
/PHP-7.2/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.2/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.2/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.2/ext/zlib/tests/
H A Dbug75273.phpt37 fwrite($stream, $in_data);
46 $fwrite_len = fwrite($stream, $out_data);

Completed in 79 milliseconds

12345678910>>...21