/php-src/ext/standard/tests/dir/ |
H A D | dir_basic.phpt | 23 var_dump( $d->read() ); 24 var_dump( $d->read() ); 35 echo "\nTest read after closing the dir:\n"; 37 var_dump( $d->read() ); 81 Test read after closing the dir: 82 Directory::read(): supplied resource is not a valid Directory resource
|
H A D | dir_basic-win32-mb.phpt | 29 var_dump( $d->read() ); 30 var_dump( $d->read() ); 41 echo "\nTest read after closing the dir:\n"; 43 var_dump( $d->read() ); 87 Test read after closing the dir: 88 Directory::read(): %s is not a valid Directory resource
|
H A D | readdir_variation5.phpt | 13 * Open a directory with different premissions then try to read it 25 /*1*/ 0477, // owner has read only, other and group has rwx 28 /*3*/ 0444, // all have read only 31 /*5*/ 0400, // owner has read only, group and others have no permission 34 /*7*/ 0470, // owner has read only, group has rwx & others have no permission 35 0407, // owner has read only, other has rwx & group has no permission 41 // Open directory with different permission values, read and close, expected: none of them to succe…
|
/php-src/ext/standard/tests/file/ |
H A D | fflush_variation4.phpt | 2 Test fflush() function: usage variations - file opened in read-only mode 6 /* test fflush() with handle to a file opened in read-only mode as resource */ 11 echo "*** Testing fflush(): with file handles of files opened in various read modes ***\n"; 27 // opening the file in different read modes 41 *** Testing fflush(): with file handles of files opened in various read modes ***
|
H A D | lstat_stat_variation13.phpt | 17 echo "*** Checking stat() on a file opened using read/write mode ***\n"; 24 // opening file again in read mode 25 $file_handle = fopen($filename, "r"); // read file 42 *** Checking stat() on a file opened using read/write mode ***
|
/php-src/ext/standard/tests/general_functions/ |
H A D | proc_open_sockets3.phpt | 6 function poll($pipe, $read = true) 8 $r = ($read == true) ? [$pipe] : null; 9 $w = ($read == false) ? [$pipe] : null; 22 throw new Error("Failed to read: " . (error_get_last()['message'] ?? 'N/A'));
|
H A D | proc_open_sockets2.phpt | 6 function poll($pipe, $read = true) 8 $r = ($read == true) ? [$pipe] : null; 9 $w = ($read == false) ? [$pipe] : null; 22 throw new Error("Failed to read: " . (error_get_last()['message'] ?? 'N/A'));
|
/php-src/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-src/ext/mysqli/tests/ |
H A D | bug63398.phpt | 16 $read = $error = $reject = array(); 17 $read[] = $error[] = $reject[] = $link; 20 mysqli_poll($read, $error, $reject, 1);
|
H A D | mysqli_poll.phpt | 24 $read = $error = $reject = array($link); 25 if (0 !== ($tmp = (mysqli_poll($read, $error, $reject, 0, 1)))) 28 $read = $error = $reject = array($link); 30 mysqli_poll($read, $error, $reject, -1, 1); 35 mysqli_poll($read, $error, $reject, 0, -1); 41 $read[0] = get_connection(); 43 mysqli_poll($read, $error, $reject, 0, 1); 51 printf("[%03d + 1] There should be %d links ready to read from, %d ready\n",
|
/php-src/ext/standard/tests/streams/ |
H A D | bug74090.phpt | 24 $read = array($server); 27 if (stream_select($read, $write, $exc, 0, 250000) === false) die ("stream_select timeout"); 30 $read = array($fd); 31 if (stream_select($read, $write, $exc, 0, 250000) === false) die ("stream_select timeout");
|
H A D | bug69521.phpt | 22 $read = $write = array($fp); 27 $changed = stream_select($read, $write, $except, 0, 500000); 29 if (!empty($read))
|
/php-src/ext/xmlreader/tests/ |
H A D | 006.phpt | 15 // 2 read to get on the 2nd node 16 $reader->read(); 17 $reader->read();
|
H A D | libxml_global_state_entity_loader_bypass.phpt | 21 $reader->read(); 26 $reader->read(); 31 $reader->read();
|
H A D | fromString_custom_constructor.phpt | 22 var_dump($reader->read()); 57 Failed to read property because no XML data has been read yet
|
H A D | 012.phpt | 15 $reader->read(); 33 while($reader->read() && $reader->nodeType != XMLReader::ELEMENT); 48 while($reader->read() && $reader->nodeType != XMLReader::ELEMENT); 56 while($reader->read() && $reader->nodeType != XMLReader::ELEMENT);
|
/php-src/ext/session/tests/user_session_module/ |
H A D | bug70133.phpt | 2 Bug #70133 (Extended SessionHandler::read is ignoring $session_id when calling parent) 14 public function read($session_id): string|false { 15 return parent::read('mycustomsession');
|
H A D | session_set_save_handler_class_005.phpt | 22 public function read($id): string|false { 24 return parent::read($id); 40 Warning: SessionHandler::read(): Parent session handler is not open in %ssession_set_save_handler_c… 44 Warning: session_start(): Failed to read session data: user (%s) in %ssession_set_save_handler_clas…
|
H A D | bug32330.phpt | 29 function read($id): string|false 31 echo "read: id = {$id}\n"; 74 read: id = %s 79 read: id = %s 84 read: id = %s
|
/php-src/ext/opcache/tests/jit/ |
H A D | fetch_obj_005.phpt | 18 Warning: Attempt to read property "p" on null in %sfetch_obj_005.php on line 4 20 Warning: Attempt to read property "p" on null in %sfetch_obj_005.php on line 4 22 Warning: Attempt to read property "p" on null in %sfetch_obj_005.php on line 4
|
/php-src/ext/zlib/tests/ |
H A D | gzrewind_basic2.phpt | 10 // read to the end of the file 11 echo "read to the end of the file, then rewind\n"; 23 read to the end of the file, then rewind
|
/php-src/ext/gd/tests/ |
H A D | bug79945.phpt | 15 imagecreatefrompng('php://filter/read=convert.base64-encode/resource=' . __DIR__ . '/test.png'); 20 imagecreatefrompng('php://filter/read=convert.base64-encode/resource=' . __DIR__ . '/test.png'); 25 Warning: imagecreatefrompng(): "php://filter/read=convert.base64-encode/resource=%s" is not a valid…
|
/php-src/ext/openssl/tests/ |
H A D | bug77390.phpt | 25 $read = [$fp]; 29 while (stream_select($read, $write, $except, 1000)) { 86 $read = [$upstream, $conn]; 87 while (stream_select($read, $write, $except, 1)) { 88 foreach ($read as $fp) { 107 $read = [$upstream, $conn];
|
/php-src/Zend/ |
H A D | zend_stream.c | 162 ssize_t read; in zend_stream_fixup() local 165 while ((read = zend_stream_read(file_handle, *buf + size, file_size - size)) > 0) { in zend_stream_fixup() 166 size += read; in zend_stream_fixup() 168 if (read < 0) { in zend_stream_fixup() 176 ssize_t read; in zend_stream_fixup() local 179 while ((read = zend_stream_read(file_handle, *buf + size, remain)) > 0) { in zend_stream_fixup() 180 size += read; in zend_stream_fixup() 181 remain -= read; in zend_stream_fixup() 188 if (read < 0) { in zend_stream_fixup()
|
/php-src/ext/bz2/tests/ |
H A D | bug71263.phpt | 37 echo "read: "; var_dump($s); 51 read: bool(false) 53 read: string(0) "" 57 read: bool(false)
|