/PHP-7.4/ext/shmop/tests/ |
H A D | shmop_open_private.phpt | 15 $read = shmop_read($shm2, 0, 4); 17 var_dump(is_string($read) && $read !== $write);
|
/PHP-7.4/ext/standard/tests/dir/ |
H A D | dir_basic-win32-mb.phpt | 13 * 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 D | dir_basic.phpt | 7 * 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 D | openssl_x509_export_basic.phpt | 15 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 D | bug79881.phpt | 37 $read = openssl_x509_read($cert); 38 $key = openssl_pkey_get_public($read); 39 unset($read, $key);
|
/PHP-7.4/Zend/tests/ |
H A D | include_fail_during_read.phpt | 2 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 D | 013.phpt | 20 while($reader->read()) { 22 $reader->read(); 40 while($reader->read() && $reader->nodeType != XMLReader::ELEMENT); 50 Warning: XMLReader::read(): Element 'foo': %s
|
H A D | 014.phpt | 2 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 D | 006.phpt | 15 // 2 read to get on the 2nd node 16 $reader->read(); 17 $reader->read();
|
/PHP-7.4/ext/standard/tests/file/ |
H A D | fgetc_variation3.phpt | 38 // 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 D | fgets_variation1.phpt | 37 // 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 D | fflush_variation4.phpt | 2 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 D | lstat_stat_variation13.phpt | 24 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 D | bug70133.phpt | 2 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 D | session_set_save_handler_error2.phpt | 13 …* 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 D | bug69111.phpt | 2 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 D | session_set_save_handler_class_005.phpt | 28 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 D | bug69521.phpt | 22 $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 D | DirectoryClass_error_001.phpt | 9 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 D | DirectoryClass_basic_001.phpt | 7 * 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 D | DirectoryClass_error_001-mb.phpt | 13 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 D | lob_044.phpt | 34 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 D | lob_019.phpt | 2 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 D | zend_stream.c | 151 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 D | gzrewind_basic2.phpt | 14 // 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
|