/PHP-8.2/ext/iconv/tests/ |
H A D | iconv_stream_filter_delimiter.phpt | 10 var_dump(bin2hex(fread($fp, 10))); 11 var_dump(bin2hex(fread($fp, 5))); 12 var_dump(bin2hex(fread($fp, 1))); 17 var_dump(bin2hex(fread($fp, 10))); 18 var_dump(bin2hex(fread($fp, 5))); 19 var_dump(bin2hex(fread($fp, 1))); 24 var_dump(bin2hex(fread($fp, 10))); 25 var_dump(bin2hex(fread($fp, 5))); 26 var_dump(bin2hex(fread($fp, 1))); 32 var_dump(bin2hex(fread($fp, 5))); [all …]
|
H A D | iconv_stream_filter.phpt | 10 var_dump(bin2hex(fread($fp, 10))); 11 var_dump(bin2hex(fread($fp, 5))); 12 var_dump(bin2hex(fread($fp, 1))); 17 var_dump(bin2hex(fread($fp, 10))); 18 var_dump(bin2hex(fread($fp, 5))); 19 var_dump(bin2hex(fread($fp, 1))); 25 var_dump(bin2hex(@fread($fp, 10)) != "a4b3a4f3a4cba4c1a4cf"); 26 var_dump(bin2hex(fread($fp, 5)) != "69636f6e76"); 27 var_dump(bin2hex(fread($fp, 1)) != "0a");
|
/PHP-8.2/ext/standard/tests/file/ |
H A D | fread_error.phpt | 2 Test fread() function : error conditions 10 echo "-- Testing fread() with invalid length arguments --\n"; 13 var_dump( fread($file_handle, $len) ); 20 var_dump( fread($file_handle, $len) ); 28 -- Testing fread() with invalid length arguments -- 29 fread(): Argument #2 ($length) must be greater than 0 30 fread(): Argument #2 ($length) must be greater than 0
|
H A D | fread_fwrite_basic.phpt | 2 fread & fwrite - Test reading and writing using a single resource 21 echo "start:".fread($h, strlen($out1) - 5). "\n"; 23 echo "at end:".fread($h,100)."\n"; 28 echo "final:".fread($h, 100)."\n"; 33 fread($h,1024); 35 fread($h,1); 40 fread($h,1); 43 echo "last bytes: ".fread($h, strlen($out))."\n";
|
H A D | fread_variation4.phpt | 2 Test fread() function : usage variations - read beyond file size, write only mode 23 $data_from_file = fread($file_handle, $read_size); 39 echo "*** Testing fread() : usage variations ***\n"; 48 echo "\n-- Testing fread() with file having content of type ". $file_content_type ." --\n"; 50 /* open the file using $files_modes and perform fread() on it */ 79 // try fread when file pointer at end 97 *** Testing fread() : usage variations *** 99 -- Testing fread() with file having content of type numeric -- 105 Notice: fread(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d 254 -- Testing fread() with file having content of type text -- [all …]
|
H A D | fread_variation2.phpt | 2 Test fread() function : usage variations - read some/all chars, write only mode (Bug #42036) 25 $data_from_file = fread($file_handle, $read_size); 42 echo "*** Testing fread() : usage variations ***\n"; 51 echo "\n-- Testing fread() with file having content of type ". $file_content_type ." --\n"; 53 /* open the file using $files_modes and perform fread() on it */ 99 *** Testing fread() : usage variations *** 101 -- Testing fread() with file having content of type numeric -- 107 Notice: fread(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d 274 -- Testing fread() with file having content of type text -- 447 -- Testing fread() with file having content of type text_with_new_line -- [all …]
|
H A D | bug81223.phpt | 13 var_dump(fread($stream2, 5)); 15 var_dump(fread($stream2, 4)); 20 Notice: fread(): Read of %d bytes failed with errno=13 Permission denied in %s on line %d 23 Notice: fread(): Read of %d bytes failed with errno=13 Permission denied in %s on line %d
|
H A D | fseek_variation3.phpt | 18 echo "after -4 seek: ".bin2hex(fread($h,1))."\n"; 20 echo "after seek back 1: ".bin2hex(fread($h,1))."\n"; 22 echo "after seek back 20: ".bin2hex(fread($h,1))."\n"; 28 $data = fread($h, 4096);
|
H A D | fread_socket_variation1.phpt | 2 Testing fread() on a TCP server socket 17 var_dump(fread($server, 1));
|
H A D | fclose_variation1.phpt | 11 echo fread($s2, strlen("<?php")); 18 fread(): supplied resource is not a valid stream resource
|
H A D | bug41815.phpt | 11 fread($reader, 1); 14 if (strlen(fread($reader, 10)) > 0) {
|
H A D | fopen_unlink.phpt | 13 fread($f, 16), 16 fread($f, 16),
|
/PHP-8.2/ext/spl/tests/SplFileObject/ |
H A D | bug65545.phpt | 2 SplFileObject::fread function 6 $data = $obj->fread(5); 10 $data = $obj->fread(0); 17 $data = $obj->fread(filesize(__FILE__) + 32); 23 SplFileObject::fread(): Argument #1 ($length) must be greater than 0
|
/PHP-8.2/ext/bz2/tests/ |
H A D | bug71263.phpt | 2 Bug #71263: fread() does not report bzip2.decompress errors 17 // --> fread() displays empty string then garbage, no errors detected: 22 // --> fread() displays the empty string: 27 // --> fread() displays an empty string, then the correct plain text, no error detected: 36 $s = fread($r, 100); 50 Notice: fread(): bzip2 decompression failed in %s on line %d 56 Notice: fread(): bzip2 decompression failed in %s on line %d
|
/PHP-8.2/ext/phar/tests/ |
H A D | bug70091.phpt | 15 $data = fread($stream, 8); 19 $data = fread($stream, 8); 23 $data = fread($stream, 10); 27 $data = fread($stream, 10);
|
H A D | phar_stub.phpt | 24 echo fread($fp, strlen($file)) . "\n"; 32 echo fread($fp, strlen($file)) . "\n"; 47 echo fread($fp, strlen($file)) . "\n"; 62 echo fread($fp, strlen($file)) . "\n"; 63 if (fread($fp, strlen('booya')) == 'booya') { 71 echo fread($fp, strlen($file)) . "\n"; 72 if (fread($fp, strlen('booya')) == 'booya') {
|
/PHP-8.2/ext/zip/tests/ |
H A D | oo_stream_seek.phpt | 23 var_dump(fread($fp, 2)); 26 var_dump(fread($fp, 2)); 37 var_dump(fread($fp, 2)); 48 var_dump(fread($fp, 2)); 51 var_dump(fread($fp, 2));
|
/PHP-8.2/ext/zlib/tests/ |
H A D | zlib_filter_inflate2.phpt | 14 echo fread($fp, 2000); 22 echo fread($fp, 2000); 28 echo fread($fp, 2000); 37 Notice: fread(): zlib: data error in %s on line %d
|
H A D | bug_52944.phpt | 17 var_dump(fread($fp,1)); 18 var_dump(fread($fp,1)); 23 Notice: fread(): zlib: data error in %s on line %d
|
/PHP-8.2/ext/zip/examples/ |
H A D | fopen.php | 12 $contents .= fread($fp, 2); 28 $contents .= fread($fp, 2);
|
/PHP-8.2/ext/standard/tests/streams/ |
H A D | bug68948.phpt | 12 var_dump(fread($stream, 10)); 18 var_dump(fread($stream, 11));
|
H A D | gh8472.phpt | 29 var_dump(fread($res, 4)); 30 var_dump(fread($res, 4));
|
H A D | proc_open_bug60120.phpt | 73 ] .= fread($ready, 8192); 85 fread($pipes[1], 1), 86 fread($pipes[2], 1));
|
H A D | bug69521.phpt | 16 fread($link, 1000); 30 echo fread($fp, 4);
|
/PHP-8.2/ext/openssl/tests/ |
H A D | openssl_x509_check_private_key_basic.phpt | 8 $a = fread($fp, 8192); 12 $b = fread($fp, 8192);
|