Home
last modified time | relevance | path

Searched refs:stream_get_contents (Results 1 – 25 of 43) sorted by relevance

12

/PHP-5.3/ext/pdo_oci/tests/
H A Dpdo_oci_stream_1.phpt2 PDO_OCI: stream_get_contents length & offset test
45 echo 'Read '.stream_get_contents($r['data'], 1, 1)."$\n"; // b
46 echo 'Read '.stream_get_contents($r['data'], 2, 1)."$\n"; // cd
47 echo 'Read '.stream_get_contents($r['data'], 2, 0)."$\n"; // ab
51 echo 'Read '.stream_get_contents($r['data'], 1, 20)."$\n"; // u
52 echo 'Read '.stream_get_contents($r['data'], 1, 25)."$\n"; // z
53 echo 'Read '.stream_get_contents($r['data'], 1, 26)."$\n"; // <blank>
54 echo 'Read '.stream_get_contents($r['data'], 1, 0)."$\n"; // a
66 echo 'Read '.strlen(stream_get_contents($r['data'], 0,0))."\n"; // 0
67 echo 'Read '.strlen(stream_get_contents($r['data'], 0,1))."\n"; // 0
[all …]
/PHP-5.3/ext/standard/tests/streams/
H A Dbug46426.phpt2 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 Dstream_get_contents_001.phpt2 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 Dbug54946.phpt2 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);
H A Dstream_get_contents_002.phpt2 stream_get_contents() - Testing on socket with $maxlength
14 var_dump(stream_get_contents($sockets[1], 3));
H A Dstream_copy_to_stream_socket.phpt19 var_dump(stream_get_contents($tmp));
24 var_dump(stream_get_contents($tmp));
H A Dbug48309.phpt16 var_dump(stream_get_contents($tmp));
24 var_dump(stream_get_contents($tmp));
/PHP-5.3/ext/zip/tests/
H A Dbug53579.phpt2 Bug #53579 (stream_get_contents() segfaults on ziparchive streams)
21 $contents = stream_get_contents($fp);
32 $contents = stream_get_contents($fp);
/PHP-5.3/ext/standard/tests/filters/
H A Dfilter_errors_user.phpt58 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 …]
H A Dfilter_errors_convert_base64_decode.phpt18 Warning: stream_get_contents(): stream filter (convert.base64-decode): invalid byte sequence in %s
H A Dfilter_errors.inc34 stream_get_contents($stream);
H A Dchunked_001.phpt24 var_dump(stream_get_contents($fp));
/PHP-5.3/tests/run-test/
H A Dtest010.phpt5 var_dump(stream_get_contents(STDIN));
6 var_dump(stream_get_contents(fopen('php://stdin', 'r')));
/PHP-5.3/ext/standard/tests/strings/
H A Dvfprintf_error3.phpt23 var_dump( stream_get_contents( $fp ) );
30 var_dump( stream_get_contents( $fp ) );
/PHP-5.3/ext/standard/tests/file/
H A Dstream_rfc2397_001.phpt15 var_dump(stream_get_contents($file));
H A Dbug39551.phpt19 stream_get_contents($s);
/PHP-5.3/ext/phar/tests/files/
H A Dnophar.phar.inc7 $p['b/c.php'] = '<?php echo "in b\n";$a = fopen("index.php", "r", true);echo stream_get_contents($a…
/PHP-5.3/ext/phar/tests/cache_list/files/
H A Dnophar.phar.inc7 $p['b/c.php'] = '<?php echo "in b\n";$a = fopen("index.php", "r", true);echo stream_get_contents($a…
/PHP-5.3/ext/standard/
H A Dstreamsfuncs.h34 PHP_FUNCTION(stream_get_contents);
/PHP-5.3/ext/standard/tests/http/
H A Dignore_errors.phpt31 var_dump(stream_get_contents($fd));
35 var_dump(stream_get_contents($output));
H A Dbug53198.phpt25 var_dump(stream_get_contents($output));
/PHP-5.3/ext/mcrypt/tests/
H A Dmcrypt_filters.phpt30 $data = stream_get_contents($fp);
/PHP-5.3/ext/phar/tests/
H A Dphar_magic.phpt14 $p['b/c.php'] = '<?php echo "in b\n";$a = fopen("a", "r", true);echo stream_get_contents($a);fclose…
/PHP-5.3/ext/phar/tests/tar/
H A Dphar_magic.phpt14 $p['b/c.php'] = '<?php echo "in b\n";$a = fopen("a", "r", true);echo stream_get_contents($a);fclose…
/PHP-5.3/sapi/cli/tests/
H A D022.phpt35 echo stream_get_contents($client_socket);

Completed in 28 milliseconds

12