Home
last modified time | relevance | path

Searched refs:bytes (Results 26 – 50 of 291) sorted by relevance

12345678910>>...12

/PHP-7.4/ext/standard/tests/file/
H A Dfilesize_variation4-win32.phpt12 Description : Returns the size of the file in bytes, or FALSE
34 var_dump( strlen($string) ); //strlen of the string = 191 bytes
37 var_dump( filesize($filename) ); //size of the file = 192 bytes != strlen of string
44 var_dump( filesize($filename) ); //204 bytes
51 var_dump( filesize($filename) ); //218 bytes
56 var_dump( ftruncate($file_handle, 220) ); //creating 4 bytes of hole
58 var_dump( filesize($filename) ); //220 bytes
63 fwrite($file_handle, "Hello\0"); //wrting 6 bytes of data
65 var_dump( filesize($filename) ); //226 bytes
70 var_dump( filesize($filename) ); //0 bytes
[all …]
H A Dfilesize_variation4.phpt12 Description : Returns the size of the file in bytes, or FALSE
36 var_dump( strlen($string) ); //strlen of the string = 191 bytes
39 var_dump( filesize($filename) ); //size of the file = strlen of string = 191 bytes
46 var_dump( filesize($filename) ); //203 bytes
53 var_dump( filesize($filename) ); //216 bytes
58 var_dump( ftruncate($file_handle, 220) ); //creating 4 bytes of hole
60 var_dump( filesize($filename) ); //220 bytes
65 fwrite($file_handle, "Hello\0"); //wrting 6 bytes of data
67 var_dump( filesize($filename) ); //226 bytes
72 var_dump( filesize($filename) ); //0 bytes
[all …]
H A Dfgetc_variation3.phpt59 Notice: fgetc(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
68 Notice: fgetc(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
77 Notice: fgetc(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
86 Notice: fgetc(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
95 Notice: fgetc(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
104 Notice: fgetc(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
113 Notice: fgetc(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
122 Notice: fgetc(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
131 Notice: fgetc(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
H A Dfgets_variation1.phpt58 Notice: fgets(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
67 Notice: fgets(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
76 Notice: fgets(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
85 Notice: fgets(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
94 Notice: fgets(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
103 Notice: fgets(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
112 Notice: fgets(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
121 Notice: fgets(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
130 Notice: fgets(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
H A Dfilesize_variation3-win32.phpt12 Description : Returns the size of the file in bytes, or FALSE
21 fwrite($file_handle, str_repeat("Hello,World ", 1000) ); // create file of size 12000 bytes
25 // truncate the file created earlier in subdir, the size of the file is 12000bytes
26 // truncate the same file, in the loop , each time with the decrement in size by 1200 bytes,
27 // until -1200bytes size
H A Dfilesize_variation3.phpt12 Description : Returns the size of the file in bytes, or FALSE
21 fwrite($file_handle, str_repeat("Hello,World ", 1000) ); // create file of size 12000 bytes
25 // truncate the file created earlier in subdir, the size of the file is 12000bytes
26 // truncate the same file, in the loop , each time with the decrement in size by 1200 bytes,
27 // until -1200bytes size
H A Dfread_fwrite_basic.phpt15 Description: reads up to length bytes from the file pointer referenced by handle.
16 Reading stops when up to length bytes have been read, EOF (end of file) is
18 opening userspace stream) when 8192 bytes have been read whichever comes first.
53 echo "last bytes: ".fread($h, strlen($out))."\n";
71 last bytes: xtra
H A Dfputcsv_variation14.phpt93 Notice: fputcsv(): write of 12 bytes failed with errno=9 Bad file descriptor in %s on line %d
105 Notice: fputcsv(): write of 12 bytes failed with errno=9 Bad file descriptor in %s on line %d
117 Notice: fputcsv(): write of 12 bytes failed with errno=9 Bad file descriptor in %s on line %d
129 Notice: fputcsv(): write of 15 bytes failed with errno=9 Bad file descriptor in %s on line %d
141 Notice: fputcsv(): write of 15 bytes failed with errno=9 Bad file descriptor in %s on line %d
153 Notice: fputcsv(): write of 15 bytes failed with errno=9 Bad file descriptor in %s on line %d
165 Notice: fputcsv(): write of 16 bytes failed with errno=9 Bad file descriptor in %s on line %d
177 Notice: fputcsv(): write of 16 bytes failed with errno=9 Bad file descriptor in %s on line %d
189 Notice: fputcsv(): write of 16 bytes failed with errno=9 Bad file descriptor in %s on line %d
201 Notice: fputcsv(): write of 18 bytes failed with errno=9 Bad file descriptor in %s on line %d
[all …]
/PHP-7.4/ext/openssl/tests/
H A Dbug71917.phpt2 Bug #71917: openssl_open() returns junk on envelope < 16 bytes
22 // works - key of 16 bytes
24 // fails - key of 15 bytes
H A Dbug61124.phpt10 Warning: openssl_decrypt(): IV passed is only 4 bytes long, cipher expects an IV of precisely 16 by…
/PHP-7.4/ext/dom/tests/
H A DDOMDocument_save_basic.phpt24 echo 'Wrote: ' . $doc->save($temp_filename) . ' bytes'; // Wrote: 72 bytes
32 Wrote: 72 bytes
/PHP-7.4/ext/standard/tests/general_functions/
H A Descapeshellarg_bug71039.phpt2 Test escapeshellarg() string with \0 bytes
10 Fatal error: escapeshellarg(): Input string contains NULL bytes in %s on line %d
H A Descapeshellcmd_bug71039.phpt2 Test escapeshellcmd() string with \0 bytes
10 Fatal error: escapeshellcmd(): Input string contains NULL bytes in %s on line %d
/PHP-7.4/ext/standard/tests/random/
H A Drandom_bytes_error.phpt8 $bytes = random_bytes();
14 $bytes = random_bytes(0);
/PHP-7.4/tests/basic/
H A Drfc1867_post_max_size.phpt18 Warning: POST Content-Length of %d bytes exceeds the limit of 1 bytes in %s
/PHP-7.4/ext/mbstring/tests/
H A Dbug79371.phpt9 $bytes = array(0xef, 0xbf, 0xbd, 0xef);
10 $str = implode(array_map("chr", $bytes));
/PHP-7.4/ext/zlib/tests/
H A Dgzseek_variation6.phpt13 // move 40 bytes
14 echo "move 40 bytes\n";
30 move 40 bytes
H A Dbug74240.phpt16 $bytes = str_repeat("*", 65536);
23 $bytes,
/PHP-7.4/Zend/tests/
H A Dbug81070.phpt13 Warning: Failed to set memory limit to 3145728 bytes (Current memory usage is %d bytes) in %s on li…
/PHP-7.4/ext/spl/tests/
H A DSplObjectStorage_unserialize_bad.phpt23 Error at offset 6 of 34 bytes
24 Error at offset 46 of 89 bytes
47 Error at offset 78 of 78 bytes
/PHP-7.4/ext/standard/tests/streams/
H A Dbug54946.phpt35 Notice: stream_get_contents(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on …
38 Notice: stream_get_contents(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on …
41 Notice: stream_get_contents(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on …
H A Dproc_open_bug64438.phpt2 Bug #64438 proc_open hangs with stdin/out with 4097+ bytes
60 $pipeEvents[(int)$pipe][] = "Read " . strlen($data) . " bytes";
74 string(15) "Read 4097 bytes"
81 string(15) "Read 4097 bytes"
H A Dbug79984.phpt26 echo 'filtered ' . ($consumed ? $consumed : 0) . ' bytes';
54 filtered 8192 bytes.
55 filtered 128 bytes and closing. Stream has reached end-of-file.
H A Dbug61115-1.phpt17 Fatal error: Allowed memory size of %d bytes exhausted%s(tried to allocate %d bytes) in %s on line …
/PHP-7.4/ext/zip/tests/
H A Doo_setcomment_error.phpt31 Warning: ZipArchive::setArchiveComment(): Comment must not exceed 65535 bytes in %s on line %d
34 Warning: ZipArchive::setCommentName(): Comment must not exceed 65535 bytes in %s on line %d
37 Warning: ZipArchive::setCommentIndex(): Comment must not exceed 65535 bytes in %s on line %d

Completed in 66 milliseconds

12345678910>>...12