Home
last modified time | relevance | path

Searched refs:read (Results 1 – 25 of 628) sorted by relevance

12345678910>>...26

/php-src/ext/standard/tests/streams/
H A Dstream_select_preserve_keys.phpt5 $read[1] = fopen(__FILE__, 'r');
6 $read['myindex'] = reset($read);
10 var_dump($read);
11 stream_select($read, $write, $except, 0);
12 var_dump($read);
13 fread(reset($read), 1);
14 stream_select($read, $write, $except, 0); // // emulate_read
15 var_dump($read);
H A Dbug53427.phpt5 $read[1] = fopen(__FILE__, "r");
6 $read["myindex"] = reset($read);
10 var_dump($read);
12 stream_select($read, $write, $except, 0);
14 var_dump($read);
H A Dstream_set_chunk_size.phpt14 echo "read with size: ", $count, "\n";
31 /* when the chunk size is 1, the read buffer is skipped, but the
36 echo "should be read without buffer (\$count == 10000)\n";
43 echo "should elicit one read of size 100 (chunk size)\n";
45 echo "should elicit one read of size 100 (chunk size)\n";
68 should be read without buffer ($count == 10000)
69 read with size: 10000
78 should elicit one read of size 100 (chunk size)
79 read with size: 100
81 should elicit one read of size 100 (chunk size)
[all …]
H A Dstream_select_null_usec.phpt6 $read = [fopen(__FILE__, 'r')];
15 stream_select($read, $write, $except, null, null);
16 var_dump($read);
20 stream_select($read, $write, $except, null, 0);
22 stream_select($read, $write, $except, null, 1);
H A Dbug51056.phpt32 printf("fread read %d bytes\n", $bytes);
42 fread read 8 bytes
43 fread read 256 bytes
44 fread read 45 bytes
45 fread read 8 bytes
/php-src/ext/libxml/tests/
H A Dbug61367-read_2.phpt2 Bug #61367: open_basedir bypass in libxml RSHUTDOWN: read test
40 var_dump(mkdir('test_bug_61367-read'));
41 var_dump(mkdir('test_bug_61367-read/base'));
42 var_dump(file_put_contents('test_bug_61367-read/bad', 'blah'));
43 var_dump(chdir('test_bug_61367-read/base'));
51 unlink('test_bug_61367-read/bad');
52 rmdir('test_bug_61367-read/base');
53 rmdir('test_bug_61367-read');
63 Warning: Attempt to read property "nodeValue" on null in %s on line %d
H A Dbug61367-read.phpt2 Bug #61367: open_basedir bypass in libxml RSHUTDOWN: read test
39 var_dump(mkdir('test_bug_61367-read'));
40 var_dump(mkdir('test_bug_61367-read/base'));
41 var_dump(file_put_contents('test_bug_61367-read/bad', 'blah'));
42 var_dump(chdir('test_bug_61367-read/base'));
50 unlink('test_bug_61367-read/bad');
51 rmdir('test_bug_61367-read/base');
52 rmdir('test_bug_61367-read');
60 …: I/O warning : failed to load external entity "file:///%s/test_bug_61367-read/bad" in %s on line …
66 Warning: Attempt to read property "firstChild" on null in %s on line %d
[all …]
/php-src/ext/zip/tests/
H A Doo_readonly_properties.phpt2 Test that ZipArchive properties are read-only
66 Cannot write read-only property ZipArchive::$lastId
67 Cannot write read-only property ZipArchive::$lastId
69 Cannot write read-only property ZipArchive::$status
71 Cannot write read-only property ZipArchive::$statusSys
73 Cannot write read-only property ZipArchive::$numFiles
75 Cannot write read-only property ZipArchive::$filename
77 Cannot write read-only property ZipArchive::$comment
/php-src/Zend/tests/offsets/
H A Dinternal_handlers.phpt10 echo 'read op', PHP_EOL;
20 echo 'read-write op', PHP_EOL;
50 echo 'nested read', PHP_EOL;
56 //echo 'nested read: appending then read', PHP_EOL;
82 echo 'nested read-write', PHP_EOL;
110 //echo 'nested isset: appending then read', PHP_EOL;
223 read op
227 read-write op
239 nested read
253 nested read-write
[all …]
/php-src/ext/standard/tests/file/
H A Dfile_get_contents_variation7-win32-mb.phpt47 fwrite($h, "contents read");
77 string(%d) "contents read"
80 string(%d) "contents read"
83 string(%d) "contents read"
86 string(%d) "contents read"
99 string(%d) "contents read"
102 string(%d) "contents read"
105 string(%d) "contents read"
108 string(%d) "contents read"
116 string(%d) "contents read"
H A Dfile_get_contents_variation7-win32.phpt47 fwrite($h, "contents read");
77 string(%d) "contents read"
80 string(%d) "contents read"
83 string(%d) "contents read"
86 string(%d) "contents read"
99 string(%d) "contents read"
102 string(%d) "contents read"
105 string(%d) "contents read"
108 string(%d) "contents read"
116 string(%d) "contents read"
H A Dfile_variation8-win32.phpt47 fwrite($h, "contents read");
79 string(13) "contents read"
85 string(13) "contents read"
91 string(13) "contents read"
97 string(13) "contents read"
113 string(13) "contents read"
119 string(13) "contents read"
125 string(13) "contents read"
131 string(13) "contents read"
142 string(13) "contents read"
H A Dfile_get_contents_variation7.phpt39 fwrite($h, "contents read");
69 string(%d) "contents read"
72 string(%d) "contents read"
75 string(%d) "contents read"
78 string(%d) "contents read"
91 string(%d) "contents read"
94 string(%d) "contents read"
97 string(%d) "contents read"
100 string(%d) "contents read"
H A Dfile_variation8.phpt39 fwrite($h, "contents read");
71 string(13) "contents read"
77 string(13) "contents read"
83 string(13) "contents read"
89 string(13) "contents read"
105 string(13) "contents read"
111 string(13) "contents read"
117 string(13) "contents read"
123 string(13) "contents read"
H A Dstat_variation5-win32.phpt2 Test stat() functions: usage variations - file opened in read/write mode
12 /* test the stats of file opened in write mode and then same in read mode */
22 echo "\n*** Testing stat(): on a file with read/write permission ***\n";
31 // opening file again in read mode
32 $file_handle = fopen($filename, "r"); // read file
53 *** Testing stat(): on a file with read/write permission ***
/php-src/ext/openssl/tests/
H A Dopenssl_x509_read_basic.phpt17 var_dump(openssl_x509_read($a)); // read cert as a string
18 var_dump(openssl_x509_read($b)); // read cert as a filename string
19 var_dump(openssl_x509_read($c)); // read an invalid cert, fails
20 var_dump(openssl_x509_read($d)); // read cert from a resource
23 openssl_x509_read($e); // read an array
29 openssl_x509_read($f); // read an array with the filename
H A Dopenssl_x509_export_to_file_basic.phpt16 var_dump(openssl_x509_export_to_file($a, $outfilename)); // read cert as a binary string
17 var_dump(openssl_x509_export_to_file($b, $outfilename)); // read cert from a filename string
18 var_dump(openssl_x509_export_to_file($c, $outfilename)); // read an invalid cert, fails
19 var_dump(openssl_x509_export_to_file($d, $outfilename)); // read cert from a resource
21 openssl_x509_export_to_file($e, $outfilename); // read an array, fails
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
21 openssl_x509_export($e, $output5); // read an array, fails
/php-src/ext/zlib/tests/
H A Dbug71417.phpt16 // --> read: string(0) ""
17 // --> read: string(44) "The quick brown fox jumps over the lazx8dog."
24 // --> read: string(32) "The quick brown fox jumps over t"
31 // --> read: string(0) ""
32 // --> read: string(44) "The quick brown fox jumps over the lazy dog."
39 // read: string(44) "The quick brown fox jumps over the lazy dog."
56 echo "read: "; var_dump($s);
74 read: bool(false)
78 read: string(3%d) "The quick brown fox jumps over%s"
84 read: bool(false)
[all …]
/php-src/ext/spl/tests/SplFileObject/
H A Dbug80933.phpt14 $read = $temp->fgets();
15 var_dump($line === $read);
19 $read = $temp->fgets();
20 var_dump($line === $read);
/php-src/ext/xmlreader/tests/
H A Dbug64230.phpt21 $x->read();
30 $x->read();
43 Warning: XMLReader::read(): %s: parser error : Specification mandate%A value for attribute att in %…
45 Warning: XMLReader::read(): <root att/> in %s on line %d
47 Warning: XMLReader::read(): ^ in %s on line %d
H A D013.phpt21 while($reader->read()) {
23 $reader->read();
41 while($reader->read() && $reader->nodeType != XMLReader::ELEMENT);
50 Warning: XMLReader::read(): Element 'foo': %s
/php-src/ext/shmop/tests/
H A Dshmop_open_private.phpt13 $read = shmop_read($shm2, 0, 4);
15 var_dump(is_string($read) && $read !== $write);
/php-src/ext/ffi/tests/
H A D020.phpt2 FFI 020: read-only
66 FFI\Exception: Attempt to assign read-only field 'y'
67 FFI\Exception: Attempt to assign read-only field 'x'
68 FFI\Exception: Attempt to assign read-only location
69 FFI\Exception: Attempt to assign read-only location
71 FFI\Exception: Attempt to assign read-only location
72 FFI\Exception: Attempt to assign read-only location
/php-src/ext/dom/tests/modern/css_selectors/
H A Dpseudo_classes_read_write_read_only.phpt2 CSS Selectors - Pseudo classes: read-write/read-only
25 test_helper($dom, ':read-write');
26 test_helper($dom, ':read-only');
30 --- Selector: :read-write ---
34 --- Selector: :read-only ---

Completed in 38 milliseconds

12345678910>>...26