/PHP-8.1/ext/pdo_oci/tests/ |
H A D | pdo_oci_stream_1.phpt | 2 PDO_OCI: stream_get_contents length & offset test 47 echo 'Read '.stream_get_contents($r['data'], 1, 1)."$\n"; // b 48 echo 'Read '.stream_get_contents($r['data'], 2, 1)."$\n"; // cd 49 echo 'Read '.stream_get_contents($r['data'], 2, 0)."$\n"; // ab 53 echo 'Read '.stream_get_contents($r['data'], 1, 20)."$\n"; // u 54 echo 'Read '.stream_get_contents($r['data'], 1, 25)."$\n"; // z 55 echo 'Read '.stream_get_contents($r['data'], 1, 26)."$\n"; // <blank> 56 echo 'Read '.stream_get_contents($r['data'], 1, 0)."$\n"; // a 68 echo 'Read '.strlen(stream_get_contents($r['data'], 0,0))."\n"; // 0 69 echo 'Read '.strlen(stream_get_contents($r['data'], 0,1))."\n"; // 0 [all …]
|
H A D | bug60994.phpt | 41 $stream1 = stream_get_contents($row['DATA']); 48 if ($string1 != $stream1 || $stream1 != stream_get_contents($row['DATA2'])) { 61 $stream2 = stream_get_contents($row['DATA']); 68 if ($string2 != $stream2 || $stream2 != stream_get_contents($row['DATA2'])) { 81 $stream3 = stream_get_contents($row['DATA']); 88 if ($string3 != $stream3 || $stream3 != stream_get_contents($row['DATA2'])) { 101 $stream4 = stream_get_contents($row['DATA']); 108 if ($string4 != $stream4 || $stream4 != stream_get_contents($row['DATA2'])) {
|
/PHP-8.1/ext/standard/tests/streams/ |
H A D | bug46426.phpt | 2 Bug #46426 (3rd parameter offset of stream_get_contents not works for "0") 10 echo stream_get_contents($tmp, 2, 1); 12 echo stream_get_contents($tmp, -1); 14 echo stream_get_contents($tmp, -1, 0); 16 echo stream_get_contents($tmp, -1, 2); 18 echo stream_get_contents($tmp, 0, 0); 20 echo stream_get_contents($tmp, 1, 0); 22 echo stream_get_contents($tmp, -1);
|
H A D | stream_get_contents_001.phpt | 2 stream_get_contents() - Testing offset out of range 10 echo stream_get_contents($tmp, 2, 5), "--\n"; 11 echo stream_get_contents($tmp, 2), "--\n"; 12 echo stream_get_contents($tmp, 2, 3), "--\n"; 13 echo stream_get_contents($tmp, 2, -1), "--\n";
|
H A D | bug54946.phpt | 2 Bug#54946 stream_get_contents infinite loop 7 $retval = stream_get_contents($stream, 1, 1); 17 $retval = stream_get_contents($stream, 1, 1); 28 $retval = stream_get_contents($stream, 1); 34 Notice: stream_get_contents(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on … 37 Notice: stream_get_contents(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on … 40 Notice: stream_get_contents(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on …
|
H A D | stream_get_contents_negative_length.phpt | 2 stream_get_contents() with negative max length 8 var_dump(stream_get_contents($tmp, 2, 1)); 11 stream_get_contents($tmp, -2); 19 stream_get_contents(): Argument #2 ($length) must be greater than or equal to -1
|
H A D | bug61019.phpt | 2 Bug #61019 (Out of memory on command stream_get_contents) 30 $tmp_stdin=stream_get_contents($pipes[1]); 35 $tmp_stderr=stream_get_contents($pipes[2]); 45 $tmp_stdin=stream_get_contents($pipes[1]); 50 $tmp_stderr=stream_get_contents($pipes[2]);
|
H A D | bug78326_1.phpt | 2 proper string length on stream_get_contents() 8 var_dump(strlen(stream_get_contents($f, 1024)));
|
H A D | bug78326.phpt | 2 memory allocation on stream_get_contents() 13 $chunks[] = stream_get_contents($f, 1000000);
|
H A D | stream_get_contents_002.phpt | 2 stream_get_contents() - Testing on socket with $maxlength 14 var_dump(stream_get_contents($sockets[1], 3));
|
H A D | bug81659.phpt | 2 Bug #81659 (stream_get_contents() may unnecessarily overallocate) 14 var_dump(strlen(stream_get_contents($stream)));
|
H A D | bug48309.phpt | 16 var_dump(stream_get_contents($tmp)); 24 var_dump(stream_get_contents($tmp));
|
H A D | stream_copy_to_stream_socket.phpt | 19 var_dump(stream_get_contents($tmp)); 24 var_dump(stream_get_contents($tmp));
|
H A D | bug64166.phpt | 15 var_dump(stream_get_contents($fd, -1, 0)); 24 var_dump(stream_get_contents($fd, -1, 0));
|
H A D | bug64166_3.phpt | 15 var_dump(stream_get_contents($fd, -1, 0)); 26 var_dump(stream_get_contents($fd, -1, 0));
|
H A D | bug74090.phpt | 2 Bug #74090 stream_get_contents maxlength>-1 returns empty string on windows 26 $ret = stream_get_contents($fd, 65565);
|
/PHP-8.1/ext/zip/tests/ |
H A D | bug53579.phpt | 2 Bug #53579 (stream_get_contents() segfaults on ziparchive streams) 18 $contents = stream_get_contents($fp); 29 $contents = stream_get_contents($fp);
|
H A D | bug80833.phpt | 33 var_dump(stream_get_contents($file_stream)); 37 var_dump(stream_get_contents($file_stream)); 44 var_dump(stream_get_contents($file_stream)); 56 Warning: stream_get_contents(): Zip stream error: Containing zip archive was closed in %s
|
/PHP-8.1/ext/standard/tests/filters/ |
H A D | filter_errors_user.phpt | 58 stream_get_contents($stream); 71 stream_get_contents($stream); 85 stream_get_contents($stream); 99 Warning: stream_get_contents(): Unprocessed filter buckets remaining on input brigade in %s 121 Warning: stream_get_contents(): Unprocessed filter buckets remaining on input brigade in %s 131 Warning: stream_get_contents(): Unprocessed filter buckets remaining on input brigade in %s 135 Warning: stream_get_contents(): Unprocessed filter buckets remaining on input brigade in %s 146 Warning: stream_get_contents(): Unprocessed filter buckets remaining on input brigade in %s 151 Warning: stream_get_contents(): Unprocessed filter buckets remaining on input brigade in %s 161 Warning: stream_get_contents(): Unprocessed filter buckets remaining on input brigade in %s [all …]
|
/PHP-8.1/tests/run-test/ |
H A D | test010.phpt | 5 var_dump(stream_get_contents(STDIN)); 6 var_dump(stream_get_contents(fopen('php://stdin', 'r')));
|
/PHP-8.1/ext/standard/tests/general_functions/ |
H A D | proc_open_null.phpt | 11 var_dump(stream_get_contents($pipes[2])); 16 var_dump(stream_get_contents($pipes[1]));
|
/PHP-8.1/ext/standard/tests/file/ |
H A D | bug68532.phpt | 10 echo "memoryStream = " . stream_get_contents($stream).PHP_EOL; 17 echo "fileStream = " . stream_get_contents($fileStream ).PHP_EOL;
|
/PHP-8.1/ext/iconv/tests/ |
H A D | bug76249.phpt | 13 var_dump(stream_get_contents($fh)); 17 Warning: stream_get_contents(): iconv stream filter ("ucs-2"=>"utf%A8//IGNORE"): invalid multibyte …
|
/PHP-8.1/ext/imap/tests/ |
H A D | imap_savebody_uid.phpt | 27 var_dump(stream_get_contents($stream_uid) === stream_get_contents($stream_msg_no));
|
/PHP-8.1/sapi/cli/tests/ |
H A D | bug74600.phpt | 26 var_dump(stream_get_contents($pipes[1])); 27 var_dump(stream_get_contents($pipes[2]));
|