Home
last modified time | relevance | path

Searched refs:read (Results 26 – 50 of 552) sorted by relevance

12345678910>>...23

/PHP-7.4/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.4/ext/standard/tests/dir/
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
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
/PHP-7.4/ext/openssl/tests/
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
H A Dbug79881.phpt37 $read = openssl_x509_read($cert);
38 $key = openssl_pkey_get_public($read);
39 unset($read, $key);
/PHP-7.4/Zend/tests/
H A Dinclude_fail_during_read.phpt2 Include fails during read
7 include 'php://filter/read=sample.filter/resource='. __FILE__;
12 Warning: include(): Failed opening 'php://filter/read=sample.filter/resource=%s' for inclusion (inc…
/PHP-7.4/ext/xmlreader/tests/
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
H A D014.phpt2 XMLReader: libxml2 XML Reader, read-only element values can not be modified
18 exit('XML could not be read');
22 while ($reader->read()) {
46 Warning: main(): Cannot write to read-only property in %s on line %d
48 Warning: main(): Cannot write to read-only property in %s on line %d
50 Warning: main(): Cannot write to read-only property in %s on line %d
H A D006.phpt15 // 2 read to get on the 2nd node
16 $reader->read();
17 $reader->read();
/PHP-7.4/ext/standard/tests/file/
H A Dfgetc_variation3.phpt38 // read from file
39 var_dump( fgetc($file_handle) ); // expected : no chars should be read
59 Notice: fgetc(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
68 Notice: fgetc(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
77 Notice: fgetc(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
86 Notice: fgetc(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
95 Notice: fgetc(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
104 Notice: fgetc(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
113 Notice: fgetc(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
122 Notice: fgetc(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
[all …]
H A Dfgets_variation1.phpt37 // read from file
38 var_dump( fgets($file_handle) ); // expected : no chars should be read
58 Notice: fgets(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
67 Notice: fgets(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
76 Notice: fgets(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
85 Notice: fgets(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
94 Notice: fgets(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
103 Notice: fgets(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
112 Notice: fgets(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
121 Notice: fgets(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
[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 Dlstat_stat_variation13.phpt24 echo "*** Checking stat() on a file opened using read/write mode ***\n";
31 // opening file again in read mode
32 $file_handle = fopen($filename, "r"); // read file
49 *** Checking stat() on a file opened using read/write mode ***
/PHP-7.4/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');
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");
H A Dbug69111.phpt2 Bug #69111 Crash in SessionHandler::read()
17 var_dump($sh->read(@$id));
24 Warning: SessionHandler::read(): Session is not active in %s on line 12
H A Dsession_set_save_handler_class_005.phpt28 public function read($id) {
30 return parent::read($id);
45 Warning: SessionHandler::read(): Parent session handler is not open in %ssession_set_save_handler_c…
49 Warning: session_start(): Failed to read session data: user (%s) in %ssession_set_save_handler_clas…
/PHP-7.4/ext/standard/tests/streams/
H A Dbug69521.phpt22 $read = $write = array($fp);
27 $changed = stream_select($read, $write, $except, 0, 500000);
29 if (!empty($read))
/PHP-7.4/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
H A DDirectoryClass_error_001-mb.phpt13 var_dump($d->read());
20 var_dump($d->read());
26 var_dump($d->read(1,2));
40 Warning: Directory::read(): supplied argument is not a valid Directory resource in %s on line %d
51 Warning: Directory::read(): Unable to find my handle property in %s on line %d
62 Warning: Directory::read() expects at most 1 parameter, 2 given in %s on line %d
/PHP-7.4/ext/oci8/tests/
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
H A Dlob_019.phpt2 oci_lob_write()/erase()/read() with BLOBs
40 var_dump($row[0]->read(5));
41 var_dump($row[0]->read(5));
42 var_dump($row[0]->read(5));
/PHP-7.4/Zend/
H A Dzend_stream.c151 ssize_t read; in zend_stream_fixup() local
154 while ((read = zend_stream_read(file_handle, *buf + size, file_size - size)) > 0) { in zend_stream_fixup()
155 size += read; in zend_stream_fixup()
157 if (read < 0) { in zend_stream_fixup()
165 ssize_t read; in zend_stream_fixup() local
168 while ((read = zend_stream_read(file_handle, *buf + size, remain)) > 0) { in zend_stream_fixup()
169 size += read; in zend_stream_fixup()
170 remain -= read; in zend_stream_fixup()
177 if (read < 0) { in zend_stream_fixup()
/PHP-7.4/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 26 milliseconds

12345678910>>...23