Home
last modified time | relevance | path

Searched refs:read (Results 126 – 150 of 433) sorted by relevance

12345678910>>...18

/PHP-5.3/ext/standard/tests/file/
H A Dfscanf_variation51.phpt11 /* Test fscanf() to scan a file for read when file is opened inwrite only mode */
15 echo "*** Test fscanf(): to read from a file opened in write only mode ***\n";
69 *** Test fscanf(): to read from a file opened in write only mode ***
H A D007_variation16.phpt18 checking for the file creation, write & read operations,
35 var_dump( fread($file_handle, 100) ); //Check for read operation; passes; expected: content of the…
36 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the end…
H A Dfread_variation1.phpt2 Test fread() function : usage variations - read some/all chars, read/write modes
22 bytes are read.
24 $read_size : No. of bytes to be read.
26 Returns: returns the data read
29 // print file pointer position before read
33 // read the data of size $read_size
37 // check if data read is of expected size
43 // file pointer position after read
83 // read from file, by giving the file actual size,
85 // calculate the hash and dump it, if data read, expecting here no data was read
[all …]
H A Dfgetcsv_variation21.phpt11 Testing fgetcsv() to read a file containing blank line when provided with
40 // close the file if the mode to be used is read mode and re-open using read mode
54 // read the line which is a blank line to see the working of fgetcsv
H A Dfgetss_basic1.phpt2 Test fgetss() function : Basic functionality - read modes only
10 /* test fgetss with all read modes */
45 /* read entire file and strip tags */
52 /* read entire file and strip tags tags */
H A D007_variation3.phpt18 checking for the file creation, write & read operations,
38 var_dump( fread($file_handle, 100) ); //Check for read operation; fails; expected: empty string
39 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the beg…
H A D007_variation4.phpt18 checking for the file creation, write & read operations,
38 var_dump( fread($file_handle, 100) ); //Check for read operation; passes; expected: content of file
39 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the end…
H A Dfscanf_variation52.phpt15 echo "*** Test fscanf(): to read an empty file ***\n";
22 // various read modes
67 *** Test fscanf(): to read an empty file ***
H A D007_variation11-win32.phpt23 checking for the file creation, write & read operations,
43 var_dump( fread($file_handle, 100) ); //Check for read operation; fails; expected: empty string
44 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the beg…
H A D007_variation19.phpt18 checking for the file creation, write & read operations,
38 var_dump( fread($file_handle, 100) ); //Check for read operation; fails; expected: empty string
39 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the beg…
H A Dfread_variation4-win32.phpt2 Test fread() function : usage variations - read beyond file size, write only mode
14 Reading stops when up to length bytes have been read, EOF (end of file) is
16 opening userspace stream) when 8192 bytes have been read whichever comes first.
24 bytes are read.
26 $read_size : No. of bytes to be read.
28 Returns: returns the data read
31 // print file pointer position before read
35 // read the data of size $read_size
39 // check if data read is of expected size
45 // file pointer position after read
[all …]
H A Dfread_variation4.phpt2 Test fread() function : usage variations - read beyond file size, write only mode
14 Reading stops when up to length bytes have been read, EOF (end of file) is
16 opening userspace stream) when 8192 bytes have been read whichever comes first.
24 bytes are read.
26 $read_size : No. of bytes to be read.
28 Returns: returns the data read
31 // print file pointer position before read
35 // read the data of size $read_size
39 // check if data read is of expected size
45 // file pointer position after read
[all …]
H A D007_variation9.phpt18 checking for the file creation, write & read operations,
34 var_dump( fread($file_handle, 100) ); //Check for read operation
H A D007_variation1.phpt18 checking for the file creation, write & read operations,
34 var_dump( fread($file_handle, 100) ); //Check for read operation
H A D007_variation17.phpt18 checking for the file creation, write & read operations,
34 var_dump( fread($file_handle, 100) ); //Check for read operation
H A Dbug41815.phpt2 Bug #41815 (Concurrent read/write fails when EOF is reached)
/PHP-5.3/ext/phar/tests/
H A Dbadparameters.phpt142 Cannot write out phar archive, phar is read-only
145 Cannot write out phar archive, phar is read-only
149 Cannot change stub, phar is read-only
157 Cannot set signature algorithm, phar is read-only
160 Cannot compress phar archive, phar is read-only
166 Cannot copy "a" to "b", phar is read-only
/PHP-5.3/ext/xmlreader/examples/
H A Dxmlreader_validatedtd.php8 while($xml->read()) {
/PHP-5.3/ext/zlib/tests/
H A Dgzopen_variation4.phpt49 // should read dir2 file
60 //should now read dir1 file
71 //should still read dir1 file
80 //should read the file in working dir
91 //should read the file in script dir
/PHP-5.3/ext/spl/examples/
H A Ddbaarray.inc23 * Open database $file with $handler in read only mode.
47 * @param $name key to read from
/PHP-5.3/ext/oci8/tests/
H A Dlob_004.phpt42 var_dump($row[0]->read(10000));
52 var_dump($row[0]->read(10000));
/PHP-5.3/ext/standard/tests/streams/
H A Dstream_get_meta_data_socket_variation4.phpt26 echo "\n\nClose the server side socket and read the remaining data from the client:\n";
76 Close the server side socket and read the remaining data from the client:
H A Dstream_get_meta_data_socket_variation2.phpt20 echo "\n\nSet a timeout on the client and attempt a read:\n";
57 Set a timeout on the client and attempt a read:
/PHP-5.3/ext/dom/tests/
H A DDOMDocument_preserveWhiteSpace_basic.phpt2 DOMDocument::$preserveWhiteSpace - test ability to read and write property
/PHP-5.3/ext/bz2/tests/
H A D002.phpt81 Warning: bzopen(): cannot read from a stream opened in write only mode in %s on line %d
96 Warning: bzopen(): cannot write to a stream opened in read only mode in %s on line %d
99 Warning: bzopen(): cannot read from a stream opened in write only mode in %s on line %d
126 Warning: bzopen(): cannot read from a stream opened in write only mode in %s on line %d

Completed in 84 milliseconds

12345678910>>...18