/PHP-7.2/ext/standard/tests/file/ |
H A D | fwrite_variation3.phpt | 2 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 D | bug68532.phpt | 7 fwrite($stream, $testString); 14 fwrite($fileStream , $testString);
|
H A D | bug60120.phpt | 22 $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 D | bug38450.phpt | 91 fwrite($fp, "line1\n"); 92 fwrite($fp, "line2\n"); 93 fwrite($fp, "line3\n");
|
H A D | bug38450_1.phpt | 91 fwrite($fp, "line1\n"); 92 fwrite($fp, "line2\n"); 93 fwrite($fp, "line3\n");
|
H A D | filesize_variation4-win32.phpt | 27 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 D | ucgendat.c | 1419 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 D | sqlite3_30_blobopen.phpt | 29 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 D | SplFileObject_fwrite_variation_001.phpt | 2 SplFileObject::fwrite function - writing with two parameters length < input string length 10 $obj->fwrite('test_write',4);
|
H A D | SplFileObject_fwrite_variation_002.phpt | 2 SplFileObject::fwrite function - writing with two parameters, length > input string length 10 $obj->fwrite('test_write',12);
|
H A D | fileobject_005.phpt | 15 $fo->fwrite("blahlubba"); 22 $fo->fwrite("blahlubba");
|
/PHP-7.2/ext/openssl/tests/ |
H A D | bug77390.phpt | 63 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 D | user_streams_consumed_bug.phpt | 19 $out = fwrite(STDOUT, "Hello\n"); 25 $out = fwrite(STDOUT, "Goodbye\n");
|
H A D | bug69521.phpt | 13 $written += fwrite($fp, substr($data, $written, 100)); 17 fwrite($link, "Sending bug 69521\n");
|
H A D | bug64166_3.phpt | 12 fwrite($fd, $data); 24 fwrite($fd, $data);
|
/PHP-7.2/ext/standard/tests/filters/ |
H A D | filter_errors.inc | 20 fwrite($stream, ".\r\n$data"); 30 fwrite($stream, "$data");
|
/PHP-7.2/ext/standard/tests/image/ |
H A D | bug70096.phpt | 18 fwrite($fp, $content1); 22 fwrite($fp, $content2);
|
/PHP-7.2/sapi/cli/tests/ |
H A D | php_cli_server_009.phpt | 23 if(fwrite($fp, <<<HEADER 43 if(fwrite($fp, <<<HEADER 63 if(fwrite($fp, <<<HEADER
|
H A D | upload_2G.phpt | 55 fwrite($fp, <<<EOF 67 fwrite($fp, $data) or die("write failed @ ($i)"); 70 fwrite($fp, $post) or die("write post failed");
|
H A D | php_cli_server_008.phpt | 20 if(fwrite($fp, <<<HEADER 40 if(fwrite($fp, <<<HEADER
|
/PHP-7.2/ext/phar/tests/tar/files/ |
H A D | tarmaker.php.inc | 110 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 D | corrupt_tarmaker.php.inc | 118 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 D | make.dangerous.tar.php.inc | 111 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 D | bug70700.phpt | 52 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 D | bug75273.phpt | 37 fwrite($stream, $in_data); 46 $fwrite_len = fwrite($stream, $out_data);
|