Home
last modified time | relevance | path

Searched refs:read (Results 1 – 25 of 543) sorted by relevance

12345678910>>...22

/PHP-7.3/ext/standard/tests/streams/
H A Dstream_select_preserve_keys.phpt5 $read[1] = fopen(__FILE__, 'r');
6 $read['myindex'] = reset($read);
10 var_dump($read);
11 stream_select($read, $write, $except, 0);
12 var_dump($read);
13 fread(reset($read), 1);
14 stream_select($read, $write, $except, 0); // // emulate_read
15 var_dump($read);
H A Dbug53427.phpt5 $read[1] = fopen(__FILE__, "r");
6 $read["myindex"] = reset($read);
10 var_dump($read);
12 stream_select($read, $write, $except, 0);
14 var_dump($read);
H A Dstream_set_chunk_size.phpt13 echo "read with size: ", $count, "\n";
30 /* when the chunk size is 1, the read buffer is skipped, but the
35 echo "should be read without buffer (\$count == 10000)\n";
42 echo "should elicit one read of size 100 (chunk size)\n";
44 echo "should elicit one read of size 100 (chunk size)\n";
59 should be read without buffer ($count == 10000)
60 read with size: 10000
69 should elicit one read of size 100 (chunk size)
70 read with size: 100
72 should elicit one read of size 100 (chunk size)
[all …]
/PHP-7.3/ext/standard/tests/file/
H A Dfile_get_contents_variation3.phpt28 fwrite($h, "contents read");
127 string(13) "contents read"
130 string(13) "contents read"
133 string(%d) "contents read"
136 string(%d) "contents read"
139 string(%d) "contents read"
142 string(%d) "contents read"
145 string(%d) "contents read"
148 string(%d) "contents read"
151 string(%d) "contents read"
[all …]
H A Dreadfile_variation4.phpt138 file not read
142 file not read
146 file not read
150 file not read
154 file not read
158 file not read
162 file not read
166 file not read
170 file not read
174 file not read
[all …]
H A Dfile_get_contents_variation7-win32-mb.phpt53 fwrite($h, "contents read");
74 string(%d) "contents read"
77 string(%d) "contents read"
80 string(%d) "contents read"
83 string(%d) "contents read"
96 string(%d) "contents read"
99 string(%d) "contents read"
102 string(%d) "contents read"
105 string(%d) "contents read"
113 string(%d) "contents read"
H A Dfile_get_contents_variation7-win32.phpt53 fwrite($h, "contents read");
74 string(%d) "contents read"
77 string(%d) "contents read"
80 string(%d) "contents read"
83 string(%d) "contents read"
96 string(%d) "contents read"
99 string(%d) "contents read"
102 string(%d) "contents read"
105 string(%d) "contents read"
113 string(%d) "contents read"
H A Dfile_variation8-win32.phpt53 fwrite($h, "contents read");
76 string(13) "contents read"
82 string(13) "contents read"
88 string(13) "contents read"
94 string(13) "contents read"
110 string(13) "contents read"
116 string(13) "contents read"
122 string(13) "contents read"
128 string(13) "contents read"
139 string(13) "contents read"
H A Dfile_get_contents_variation7.phpt45 fwrite($h, "contents read");
66 string(%d) "contents read"
69 string(%d) "contents read"
72 string(%d) "contents read"
75 string(%d) "contents read"
88 string(%d) "contents read"
91 string(%d) "contents read"
94 string(%d) "contents read"
97 string(%d) "contents read"
H A Dfile_variation8.phpt45 fwrite($h, "contents read");
68 string(13) "contents read"
74 string(13) "contents read"
80 string(13) "contents read"
86 string(13) "contents read"
102 string(13) "contents read"
108 string(13) "contents read"
114 string(13) "contents read"
120 string(13) "contents read"
H A Dstat_variation5-win32.phpt2 Test stat() functions: usage variations - file opened in read/write mode
17 /* test the stats of file opened in write mode and then same in read mode */
27 echo "\n*** Testing stat(): on a file with read/write permission ***\n";
36 // opening file again in read mode
37 $file_handle = fopen($filename, "r"); // read file
58 *** Testing stat(): on a file with read/write permission ***
H A Dfile_get_contents_variation5_32bit.phpt30 fwrite($h, "contents read");
129 string(%d) "contents read"
132 string(%d) "ontents read"
142 string(10) "tents read"
148 string(10) "tents read"
163 string(%d) "contents read"
182 string(%d) "contents read"
185 string(%d) "contents read"
188 string(12) "ontents read"
191 string(%d) "contents read"
[all …]
H A Dfile_get_contents_variation5_64bit.phpt30 fwrite($h, "contents read");
129 string(%d) "contents read"
132 string(%d) "ontents read"
142 string(10) "tents read"
148 string(10) "tents read"
162 string(%d) "contents read"
181 string(%d) "contents read"
184 string(%d) "contents read"
187 string(12) "ontents read"
190 string(%d) "contents read"
[all …]
H A Dfflush_variation4.phpt2 Test fflush() function: usage variations - file opened in read-only mode
9 /* test fflush() with handle to a file opened in read-only mode as resource */
14 echo "*** Testing fflush(): with file handles of files opened in various read modes ***\n";
30 // opening the file in different read modes
44 *** Testing fflush(): with file handles of files opened in various read modes ***
/PHP-7.3/ext/libxml/tests/
H A Dbug61367-read.phpt2 Bug #61367: open_basedir bypass in libxml RSHUTDOWN: read test
35 var_dump(mkdir('test_bug_61367-read'));
36 var_dump(mkdir('test_bug_61367-read/base'));
37 var_dump(file_put_contents('test_bug_61367-read/bad', 'blah'));
38 var_dump(chdir('test_bug_61367-read/base'));
46 unlink('test_bug_61367-read/bad');
47 rmdir('test_bug_61367-read/base');
48 rmdir('test_bug_61367-read');
56 …: I/O warning : failed to load external entity "file:///%s/test_bug_61367-read/bad" in %s on line …
/PHP-7.3/ext/oci8/tests/
H A Dlob_031.phpt2 Test LOB->read(), LOB->seek() and LOB->tell() with nul bytes in data
37 $row[0]->read(3);
40 $row[0]->read(3);
43 $row[0]->read(3);
46 $row[0]->read(6);
49 $row[0]->read(4);
53 $row[0]->read(5);
56 $row[0]->read(1);
/PHP-7.3/ext/openssl/tests/
H A Dopenssl_x509_read_basic.phpt17 var_dump(openssl_x509_read($a)); // read cert as a string
18 var_dump(openssl_x509_read($b)); // read cert as a filename string
19 var_dump(openssl_x509_read($c)); // read an invalid cert, fails
20 var_dump(openssl_x509_read($d)); // read cert from a resource
21 var_dump(openssl_x509_read($e)); // read an array
22 var_dump(openssl_x509_read($f)); // read an array with the filename
H A Dopenssl_x509_export_to_file_basic.phpt16 var_dump(openssl_x509_export_to_file($a, $outfilename)); // read cert as a binary string
17 var_dump(openssl_x509_export_to_file($b, $outfilename)); // read cert from a filename string
18 var_dump(openssl_x509_export_to_file($c, $outfilename)); // read an invalid cert, fails
19 var_dump(openssl_x509_export_to_file($d, $outfilename)); // read cert from a resource
20 var_dump(openssl_x509_export_to_file($e, $outfilename)); // read an array, fails
H A Dopenssl_x509_export_basic.phpt15 var_dump(openssl_x509_export($a, $output)); // read cert as a binary string
16 var_dump(openssl_x509_export($b, $output2)); // read cert from a filename string
17 var_dump(openssl_x509_export($c, $output3)); // read an invalid cert, fails
18 var_dump(openssl_x509_export($d, $output4)); // read cert from a resource
19 var_dump(openssl_x509_export($e, $output5)); // read an array, fails
/PHP-7.3/ext/xmlreader/tests/
H A Dbug64230.phpt23 $x->read();
32 $x->read();
45 Warning: XMLReader::read(): %s: parser error : Specification mandate%A value for attribute att in %…
47 Warning: XMLReader::read(): <root att/> in %s on line %d
49 Warning: XMLReader::read(): ^ in %s on line %d
H A D013.phpt20 while($reader->read()) {
22 $reader->read();
40 while($reader->read() && $reader->nodeType != XMLReader::ELEMENT);
50 Warning: XMLReader::read(): Element 'foo': %s
/PHP-7.3/ext/standard/tests/dir/
H A Ddir_basic.phpt7 * Description: Directory class with properties, handle and class and methods read, rewind and close
29 var_dump( $d->read() );
30 var_dump( $d->read() );
41 echo "\nTest read after closing the dir:";
42 var_dump( $d->read() );
83 Test read after closing the dir:
84 Warning: Directory::read(): supplied resource is not a valid Directory resource in %s on line %d
H A Ddir_basic-win32-mb.phpt13 * Description: Directory class with properties, handle and class and methods read, rewind and close
35 var_dump( $d->read() );
36 var_dump( $d->read() );
47 echo "\nTest read after closing the dir:";
48 var_dump( $d->read() );
89 Test read after closing the dir:
90 Warning: Directory::read(): %s is not a valid Directory resource in %s on line %d
/PHP-7.3/ext/shmop/tests/
H A Dshmop_open_private.phpt15 $read = shmop_read($shm2, 0, 4);
17 var_dump(is_string($read) && $read !== $write);
/PHP-7.3/ext/session/tests/
H A Dbug70133.phpt2 Bug #70133 (Extended SessionHandler::read is ignoring $session_id when calling parent)
14 public function read($session_id) {
15 return parent::read('mycustomsession');

Completed in 37 milliseconds

12345678910>>...22