/PHP-5.4/ext/standard/tests/file/ |
H A D | fread_variation2.phpt | 114 Reading 1024 bytes from file, expecting 0 bytes ... OK 121 Reading 1000 bytes from file, expecting 0 bytes ... OK 129 Reading 1024 bytes from file, expecting 0 bytes ... OK 136 Reading 1000 bytes from file, expecting 0 bytes ... OK 144 Reading 1024 bytes from file, expecting 0 bytes ... OK 151 Reading 1000 bytes from file, expecting 0 bytes ... OK 159 Reading 1024 bytes from file, expecting 0 bytes ... OK 166 Reading 1000 bytes from file, expecting 0 bytes ... OK 174 Reading 1024 bytes from file, expecting 0 bytes ... OK 181 Reading 1000 bytes from file, expecting 0 bytes ... OK [all …]
|
H A D | fread_variation3-win32.phpt | 127 Reading 10 bytes from file, expecting 0 bytes ... OK 141 Reading 10 bytes from file, expecting 0 bytes ... OK 155 Reading 10 bytes from file, expecting 0 bytes ... OK 169 Reading 10 bytes from file, expecting 0 bytes ... OK 183 Reading 10 bytes from file, expecting 0 bytes ... OK 197 Reading 10 bytes from file, expecting 0 bytes ... OK 211 Reading 10 bytes from file, expecting 0 bytes ... OK 225 Reading 10 bytes from file, expecting 0 bytes ... OK 239 Reading 10 bytes from file, expecting 0 bytes ... OK 255 Reading 10 bytes from file, expecting 0 bytes ... OK [all …]
|
H A D | fread_variation3.phpt | 127 Reading 10 bytes from file, expecting 0 bytes ... OK 141 Reading 10 bytes from file, expecting 0 bytes ... OK 155 Reading 10 bytes from file, expecting 0 bytes ... OK 169 Reading 10 bytes from file, expecting 0 bytes ... OK 183 Reading 10 bytes from file, expecting 0 bytes ... OK 197 Reading 10 bytes from file, expecting 0 bytes ... OK 211 Reading 10 bytes from file, expecting 0 bytes ... OK 225 Reading 10 bytes from file, expecting 0 bytes ... OK 239 Reading 10 bytes from file, expecting 0 bytes ... OK 255 Reading 10 bytes from file, expecting 0 bytes ... OK [all …]
|
H A D | fread_variation4-win32.phpt | 118 Reading 1030 bytes from file, expecting 0 bytes ... OK 124 Reading 10 bytes from file, expecting 0 bytes ... OK 137 Reading 10 bytes from file, expecting 0 bytes ... OK 150 Reading 10 bytes from file, expecting 0 bytes ... OK 163 Reading 10 bytes from file, expecting 0 bytes ... OK 176 Reading 10 bytes from file, expecting 0 bytes ... OK 189 Reading 10 bytes from file, expecting 0 bytes ... OK 202 Reading 10 bytes from file, expecting 0 bytes ... OK 215 Reading 10 bytes from file, expecting 0 bytes ... OK 228 Reading 10 bytes from file, expecting 0 bytes ... OK [all …]
|
H A D | fread_variation4.phpt | 118 Reading 1030 bytes from file, expecting 0 bytes ... OK 124 Reading 10 bytes from file, expecting 0 bytes ... OK 137 Reading 10 bytes from file, expecting 0 bytes ... OK 150 Reading 10 bytes from file, expecting 0 bytes ... OK 163 Reading 10 bytes from file, expecting 0 bytes ... OK 176 Reading 10 bytes from file, expecting 0 bytes ... OK 189 Reading 10 bytes from file, expecting 0 bytes ... OK 202 Reading 10 bytes from file, expecting 0 bytes ... OK 215 Reading 10 bytes from file, expecting 0 bytes ... OK 228 Reading 10 bytes from file, expecting 0 bytes ... OK [all …]
|
H A D | fread_variation1.phpt | 115 Reading 1024 bytes from file, expecting 1024 bytes ... OK 122 Reading 1000 bytes from file, expecting 1000 bytes ... OK 130 Reading 1024 bytes from file, expecting 1024 bytes ... OK 137 Reading 1000 bytes from file, expecting 1000 bytes ... OK 145 Reading 1024 bytes from file, expecting 1024 bytes ... OK 152 Reading 1000 bytes from file, expecting 1000 bytes ... OK 160 Reading 1024 bytes from file, expecting 1024 bytes ... OK 167 Reading 1000 bytes from file, expecting 1000 bytes ... OK 175 Reading 1024 bytes from file, expecting 1024 bytes ... OK 182 Reading 1000 bytes from file, expecting 1000 bytes ... OK [all …]
|
H A D | fread_basic.phpt | 109 Reading 1024 bytes from file, expecting 1024 bytes ... OK 116 Reading 1030 bytes from file, expecting 1024 bytes ... OK 123 Reading 1000 bytes from file, expecting 1000 bytes ... OK 131 Reading 1024 bytes from file, expecting 1024 bytes ... OK 138 Reading 1030 bytes from file, expecting 1024 bytes ... OK 145 Reading 1000 bytes from file, expecting 1000 bytes ... OK 153 Reading 1024 bytes from file, expecting 1024 bytes ... OK 160 Reading 1030 bytes from file, expecting 1024 bytes ... OK 167 Reading 1000 bytes from file, expecting 1000 bytes ... OK 175 Reading 1024 bytes from file, expecting 1024 bytes ... OK [all …]
|
H A D | filesize_variation4-win32.phpt | 12 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 D | filesize_variation4.phpt | 12 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 D | filesize_variation3-win32.phpt | 12 Description : Returns the size of the file in bytes, or FALSE 21 fwrite($file_handle, (binary)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 D | filesize_variation3.phpt | 12 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 D | fread_fwrite_basic.phpt | 15 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
|
/PHP-5.4/ext/zlib/tests/ |
H A D | gztell_basic2.phpt | 18 echo "bytes written=".gzwrite($h, str_repeat(b'1', $size))."\n";; 28 bytes written=7 30 bytes written=22 32 bytes written=54 34 bytes written=17 36 bytes written=27 38 bytes written=15 40 bytes written=1000
|
H A D | gzseek_variation6.phpt | 13 // move 40 bytes 14 echo "move 40 bytes\n"; 30 move 40 bytes
|
/PHP-5.4/ext/standard/tests/serialize/ |
H A D | bug25378.phpt | 21 Notice: unserialize(): Error at offset 0 of 8 bytes in %sbug25378.php on line %d 24 Notice: unserialize(): Error at offset 0 of 5 bytes in %sbug25378.php on line %d 27 Notice: unserialize(): Error at offset 13 of 19 bytes in %sbug25378.php on line %d 30 Notice: unserialize(): Error at offset 14 of 19 bytes in %sbug25378.php on line %d 33 Notice: unserialize(): Error at offset 2 of 22 bytes in %sbug25378.php on line %d 36 Notice: unserialize(): Error at offset 17 of 18 bytes in %sbug25378.php on line %d 39 Notice: unserialize(): Error at offset 24 of 33 bytes in %sbug25378.php on line %d 48 Notice: unserialize(): Error at offset 2 of 13 bytes in %sbug25378.php on line %d 51 Notice: unserialize(): Error at offset 2 of 11 bytes in %sbug25378.php on line %d 54 Notice: unserialize(): Error at offset 8 of 9 bytes in %sbug25378.php on line %d [all …]
|
H A D | bug67072_2.phpt | 37 Notice: unserialize(): Error at offset 26 of 66 bytes in %s on line 4 49 Notice: unserialize(): Error at offset 24 of 25 bytes in %s on line 9 54 Notice: unserialize(): Error at offset 26 of 27 bytes in %s on line 9 68 Notice: unserialize(): Error at offset 17 of 18 bytes in %s on line 9
|
/PHP-5.4/ext/oci8/tests/ |
H A D | lob_030.phpt | 42 echo "Test 1: A CLOB with an even number of bytes\n"; 45 echo "Test 2: A CLOB with an odd number of bytes\n"; 51 echo "Test 4: A CLOB of 1049028 bytes (the value used for chunks in the code)\n"; 54 echo "Test 5: A CLOB of 1049028-1 bytes\n"; 57 echo "Test 6: A CLOB of 1049028+1 bytes\n"; 66 Test 1: A CLOB with an even number of bytes 68 Test 2: A CLOB with an odd number of bytes 70 Test 3: A CLOB of 1048576 bytes (== size of PHP_OCI_LOB_BUFFER_SIZE at time of test creation) 72 Test 4: A CLOB of 1049028 bytes (the value used for chunks in the code) 74 Test 5: A CLOB of 1049028-1 bytes [all …]
|
/PHP-5.4/ext/spl/tests/ |
H A D | SplObjectStorage_unserialize_invalid_parameter2.phpt | 29 Error at offset %d of %d bytes 30 Error at offset %d of %d bytes 31 Error at offset %d of %d bytes 32 Error at offset %d of %d bytes 33 Error at offset %d of %d bytes
|
H A D | SplObjectStorage_unserialize_bad.phpt | 23 Error at offset 6 of 34 bytes 24 Error at offset 46 of 89 bytes 47 Error at offset 79 of 78 bytes
|
/PHP-5.4/sapi/webjames/ |
H A D | webjames.c | 48 int bytes; in sapi_webjames_ub_write() local 50 if (bytes<0) { in sapi_webjames_ub_write() 55 return bytes; in sapi_webjames_ub_write() 57 str += bytes; in sapi_webjames_ub_write() 58 str_length -= bytes; in sapi_webjames_ub_write() 59 totalbytes += bytes; in sapi_webjames_ub_write() 71 int bytes; in sapi_webjames_send_header() local 72 bytes = webjames_writebuffer(WG(conn), header, len); in sapi_webjames_send_header() 73 if (bytes<0) { in sapi_webjames_send_header() 80 header += bytes; in sapi_webjames_send_header() [all …]
|
/PHP-5.4/ext/dom/tests/ |
H A D | DOMDocument_save_basic.phpt | 24 echo 'Wrote: ' . $doc->save($temp_filename) . ' bytes'; // Wrote: 72 bytes 32 Wrote: 72 bytes
|
/PHP-5.4/ext/mysqli/tests/ |
H A D | mysqli_query_local_infile_large.phpt | 33 $bytes = 0; 35 while (($bytes < $max_bytes) && ((microtime(true) - $start) < $runtime)) { 37 $bytes += fwrite($fp, (binary)(++$rowno . ";" . $data)); 39 $bytes += fwrite($fp, ++$rowno . ";" . $data); 42 printf("Filesize in bytes: %d\nRows: %d\n", $bytes, $rowno); 93 Filesize in bytes: %d
|
/PHP-5.4/ext/gd/libgd/ |
H A D | xbm.c | 44 int bytes = 0, i; in gdImageCreateFromXbm() local 80 bytes = (width * height / 8) + 1; in gdImageCreateFromXbm() 81 if (!bytes) { in gdImageCreateFromXbm() 95 if (!bytes || !max_bit) { in gdImageCreateFromXbm() 106 for (i = 0; i < bytes; i++) { in gdImageCreateFromXbm()
|
/PHP-5.4/tests/basic/ |
H A D | rfc1867_post_max_size.phpt | 20 Warning: POST Content-Length of %d bytes exceeds the limit of 1 bytes in %s
|
/PHP-5.4/ext/standard/tests/streams/ |
H A D | bug61115-1.phpt | 17 Fatal error: Allowed memory size of %d bytes exhausted%s(tried to allocate %d bytes) in %s on line …
|