Home
last modified time | relevance | path

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

12345678910>>...20

/PHP-5.5/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_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-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.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 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 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
60 *** Testing stat(): on a file with read/write permission ***
H A Dfile_get_contents_variation5.phpt28 fwrite($h, b"contents read");
125 string(%d) "contents read"
128 string(%d) "ontents read"
134 string(%d) "contents read"
140 string(%d) "contents read"
149 string(%d) "contents read"
168 string(%d) "contents read"
171 string(%d) "contents read"
174 string(12) "ontents read"
177 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 ***
H A Dfgetss_variation1-win32.phpt65 /* read entire file and strip tags */
67 var_dump( fgetss($file_handle) ); // expected : no character should be read
88 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
98 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
108 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
118 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
128 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
138 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
148 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
158 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
[all …]
H A Dfgetss_variation1.phpt61 /* read entire file and strip tags */
63 var_dump( fgetss($file_handle) ); // expected : no character should be read
84 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
94 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
104 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
114 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
124 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
134 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
144 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
154 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
[all …]
/PHP-5.5/ext/standard/tests/streams/
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";
60 should be read without buffer ($count == 10000)
61 read with size: 10000
70 should elicit one read of size 100 (chunk size)
71 read with size: 100
73 should elicit one read of size 100 (chunk size)
[all …]
/PHP-5.5/ext/openssl/tests/
H A D008.phpt16 var_dump(openssl_x509_export($a, $output)); // read cert as a binary string
17 var_dump(openssl_x509_export($b, $output2)); // read cert from a filename string
18 var_dump(openssl_x509_export($c, $output3)); // read an invalid cert, fails
19 var_dump(openssl_x509_export($d, $output4)); // read cert from a resource
20 var_dump(openssl_x509_export($e, $output5)); // read an array, fails
28 var_dump(openssl_x509_export_to_file($a, $outfilename)); // read cert as a binary string
29 var_dump(openssl_x509_export_to_file($b, $outfilename)); // read cert from a filename string
30 var_dump(openssl_x509_export_to_file($c, $outfilename)); // read an invalid cert, fails
31 var_dump(openssl_x509_export_to_file($d, $outfilename)); // read cert from a resource
32 var_dump(openssl_x509_export_to_file($e, $outfilename)); // read an array, fails
H A D007.phpt17 var_dump($res = openssl_x509_read($a)); // read cert as a string
20 var_dump($res = openssl_x509_read($b)); // read cert as a filename string
23 var_dump($res = openssl_x509_read($c)); // read an invalid cert, fails
26 var_dump($res = openssl_x509_read($d)); // read cert from a resource
29 var_dump($res = openssl_x509_read($e)); // read an array
32 var_dump($res = openssl_x509_read($f)); // read an array with the filename
/PHP-5.5/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);
H A Dlob_044.phpt34 var_dump($blob->read(10000));
37 var_dump($blob->read(10000));
44 echo "\nTest 2 - read it back\n";
49 var_dump($row[0]->read(10000));
71 Test 2 - read it back
/PHP-5.5/ext/xmlreader/tests/
H A Dbug64230.phpt23 $x->read();
32 $x->read();
45 Warning: XMLReader::read(): %s: parser error : Specification mandate value for attribute att in %s …
47 Warning: XMLReader::read(): <root att/> in %s on line %d
49 Warning: XMLReader::read(): ^ in %s on line %d
H A D013.phpt21 while($reader->read()) {
23 $reader->read();
41 while($reader->read() && $reader->nodeType != XMLReader::ELEMENT);
51 Warning: XMLReader::read(): Element 'foo': %s
H A D006.phpt16 // 2 read to get on the 2nd node
17 $reader->read();
18 $reader->read();
/PHP-5.5/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(): %d is not a valid Directory resource in %s on line %d
/PHP-5.5/ext/standard/tests/directory/
H A DDirectoryClass_error_001.phpt9 var_dump($d->read());
16 var_dump($d->read());
22 var_dump($d->read(1,2));
30 Warning: Directory::read(): supplied argument is not a valid Directory resource in %s on line %d
41 Warning: Directory::read(): Unable to find my handle property in %s on line %d
52 Warning: Directory::read() expects at most 1 parameter, 2 given in %s on line %d
H A DDirectoryClass_basic_001.phpt7 * Description: Directory class with properties, handle and class and methods read, rewind and close
18 var_dump($d->read());
52 Method [ <internal:standard> public method read ] {
64 Warning: Directory::read(): Unable to find my handle property in %s on line 15
/PHP-5.5/ext/session/tests/
H A Dsession_set_save_handler_error2.phpt13 …* Prototype : bool session_set_save_handler(callback $open, callback $close, callback $read, callb…
22 function read($id) { return false; }
27 session_set_save_handler("open", "close", "read", "write", "destroy", "gc");
37 session_set_save_handler("open", "close", "read", "write", "destroy", "gc");
/PHP-5.5/ext/zlib/tests/
H A Dgzrewind_basic2.phpt14 // read to the end of the file
15 echo "read to the end of the file, then rewind\n";
28 read to the end of the file, then rewind

Completed in 54 milliseconds

12345678910>>...20