Home
last modified time | relevance | path

Searched refs:read (Results 101 – 125 of 554) sorted by relevance

12345678910>>...23

/PHP-7.2/ext/standard/tests/file/
H A Dfeof_basic.phpt25 //feof is not set to true until you try to read past the end of file.
27 //last time to set the eof flag but it will fail to read.
46 echo "*** testing feof on unclosed file after a read ***\n";
90 *** testing feof on unclosed file after a read ***
H A D007_variation10.phpt18 checking for the file creation, write & read operations,
34 var_dump( fread($file_handle, 100) ); //Check for read operation
35 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the end…
H A D007_variation18.phpt18 checking for the file creation, write & read operations,
34 var_dump( fread($file_handle, 100) ); //Check for read operation
35 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the end…
H A D007_variation2.phpt18 checking for the file creation, write & read operations,
34 var_dump( fread($file_handle, 100) ); //Check for read operation
35 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the end…
H A D007_variation14.phpt18 checking for the file creation, write & read operations,
35 var_dump( fread($file_handle, 100) ); //Check for read operation; passes; expected: content of file
36 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the end…
H A D007_variation21.phpt18 checking for the file creation, write & read operations,
35 var_dump( fread($file_handle, 100) ); //Check for read operation; fails; expected: empty string
36 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the end…
H A D007_variation22.phpt18 checking for the file creation, write & read operations,
35 var_dump( fread($file_handle, 100) ); //Check for read operation; passes; expected: content of file
36 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the end…
H A D007_variation5.phpt18 checking for the file creation, write & read operations,
35 var_dump( fread($file_handle, 100) ); //Check for read operation; fails; expected: empty string
36 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the end…
H A D007_variation6.phpt18 checking for the file creation, write & read operations,
35 var_dump( fread($file_handle, 100) ); //Check for read operation; passes; expected: content of file
36 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the end…
/PHP-7.2/ext/session/tests/
H A D005.phpt28 function read($key)
57 session_set_save_handler(array($hnd, "open"), array($hnd, "close"), array($hnd, "read"), array($hnd…
71 session_set_save_handler(array($hnd, "open"), array($hnd, "close"), array($hnd, "read"), array($hnd…
84 session_set_save_handler(array($hnd, "open"), array($hnd, "close"), array($hnd, "read"), array($hnd…
H A D025.phpt29 function read($key)
65 session_set_save_handler(array($hnd, "open"), array($hnd, "close"), array($hnd, "read"), array($hnd…
79 session_set_save_handler(array($hnd, "open"), array($hnd, "close"), array($hnd, "read"), array($hnd…
95 session_set_save_handler(array($hnd, "open"), array($hnd, "close"), array($hnd, "read"), array($hnd…
H A D024.phpt28 function read($key)
57 session_set_save_handler(array($hnd, "open"), array($hnd, "close"), array($hnd, "read"), array($hnd…
72 session_set_save_handler(array($hnd, "open"), array($hnd, "close"), array($hnd, "read"), array($hnd…
H A Dbug60634_error_1.phpt23 function read($id) {
40 session_set_save_handler('open', 'close', 'read', 'write', 'destroy', 'gc');
H A Dsession_module_name_variation3.phpt26 function read($id) { return ''; }
32 session_set_save_handler("open", "close", "read", "write", "destroy", "gc");
H A Dsession_set_save_handler_variation5.phpt19 …* Prototype : bool session_set_save_handler(callback $open, callback $close, callback $read, callb…
37 var_dump(session_set_save_handler("open", "close", "read", "write", "destroy", "noisy_gc", "create_…
46 var_dump(session_set_save_handler("open", "close", "read", "write", "destroy", "noisy_gc", "create_…
/PHP-7.2/ext/spl/internal/
H A Dsplfileobject.inc75 * @return array containing read data
232 * @param $max_len set the maximum line length read
273 * @return whether more data can be read
296 * This has the effect key() called on a read a new line will already
298 * @note Line counting works as long as you only read the file and do not
314 * @return next line read from file and increase the line counter
321 throw new RuntimeException("Cannot read from file " . $this->fname);
351 throw new RuntimeException("Cannot read from file " . $this->fname);
/PHP-7.2/ext/standard/tests/strings/
H A Dbug67249.phpt2 Bug #67249 (printf out-of-bounds read)
/PHP-7.2/ext/xmlreader/tests/
H A D007.phpt18 while ($reader->read());
33 while ($reader->read());
/PHP-7.2/ext/standard/tests/file/windows_mb_path/
H A Dbug54028.phpt2 Bug #54028 Directory::read() cannot handle non-unicode chars properly
29 while (false !== ($content = $directory->read())) {
/PHP-7.2/ext/intl/tests/
H A Dcpbi_getLastCodePoint_basic.phpt18 //first() and last() don't read codepoint and set the last code point var to -1
19 //The pointer is after the last read codepoint if moving forward and
20 //before the last read codepoint is moving backwards
/PHP-7.2/ext/xmlreader/examples/
H A Dxmlreader_relaxNG.php11 while ($reader->read()) {
/PHP-7.2/ext/standard/tests/image/
H A Dbug67250.phpt2 Bug #67250 (iptcparse out-of-bounds read)
/PHP-7.2/ext/standard/
H A Dphp_fopen_wrapper.c81 size_t read; in php_stream_input_read() local
98 read = php_stream_read(input->body, buf, count); in php_stream_input_read()
100 if (!read || read == (size_t) -1) { in php_stream_input_read()
103 input->position += read; in php_stream_input_read()
106 return read; in php_stream_input_read()
/PHP-7.2/ext/standard/tests/filters/
H A Dfilter_errors_user.phpt51 echo "test append / read / remove\n";
62 echo "test append all / read / remove all\n";
76 echo "test append all / read / close\n";
132 test append / read / remove
154 test append all / read / remove all
172 test append all / read / close
/PHP-7.2/ext/standard/tests/dir/
H A Drewinddir_variation2.phpt20 echo "\n-- Create the directory handle, read and close the directory --\n";
37 -- Create the directory handle, read and close the directory --

Completed in 68 milliseconds

12345678910>>...23