/PHP-7.1/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], (binary)substr($stdin, $stdinOffset), 8192);
|
H A D | bug38450.phpt | 91 fwrite($fp, b"line1\n"); 92 fwrite($fp, b"line2\n"); 93 fwrite($fp, b"line3\n");
|
H A D | bug38450_1.phpt | 91 fwrite($fp, b"line1\n"); 92 fwrite($fp, b"line2\n"); 93 fwrite($fp, b"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.1/ext/mbstring/ucgendat/ |
H A D | ucgendat.c | 1405 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 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.1/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.1/ext/standard/tests/filters/ |
H A D | filter_errors.inc | 20 fwrite($stream, b".\r\n$data"); 30 fwrite($stream, b"$data");
|
/PHP-7.1/ext/standard/tests/image/ |
H A D | bug70096.phpt | 18 fwrite($fp, $content1); 22 fwrite($fp, $content2);
|
/PHP-7.1/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.1/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.1/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.1/ext/mysqli/tests/ |
H A D | local_infile_tools.inc | 63 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 D | bug75273.phpt | 37 fwrite($stream, $in_data); 46 $fwrite_len = fwrite($stream, $out_data);
|
/PHP-7.1/ext/standard/tests/network/ |
H A D | fsockopen_variation2.phpt | 17 fwrite($client, "0123456789"); 27 fwrite($second_client, "0123456789");
|