Home
last modified time | relevance | path

Searched refs:r (Results 101 – 125 of 1568) sorted by relevance

12345678910>>...63

/PHP-7.4/ext/pdo_oci/tests/
H A Dpdo_oci_attr_prefetch_1.phpt25 while ($r = $s->fetch()) {
26 echo $r[0] . "\n";
36 while ($r = $s->fetch()) {
37 echo $r[0] . "\n";
47 while ($r = $s->fetch()) {
48 echo $r[0] . "\n";
58 while ($r = $s->fetch()) {
59 echo $r[0] . "\n";
/PHP-7.4/ext/openssl/tests/
H A Dbug65538_001.phpt26 while (!preg_match('/\r?\n\r?\n/', $in)) {
29 $response = "HTTP/1.0 200 OK\r\n"
30 . "Content-Type: text/plain\r\n"
31 . "Content-Length: 12\r\n"
32 . "Connection: close\r\n"
33 . "\r\n"
/PHP-7.4/ext/bz2/tests/
H A D001.phpt10 var_dump(bzopen("", "r"));
14 var_dump(bzopen("no_such_file", "r"));
16 $fp = fopen(__FILE__,"r");
17 var_dump(bzopen($fp, "r"));
25 Warning: bzopen(): '' is not a valid mode for bzopen(). Only 'w' and 'r' are supported. in %s on li…
34 Warning: bzopen(): 'x' is not a valid mode for bzopen(). Only 'w' and 'r' are supported. in %s on l…
37 Warning: bzopen(): 'rw' is not a valid mode for bzopen(). Only 'w' and 'r' are supported. in %s on …
H A D002.phpt13 $fp = fopen("bz_open_002.txt", "r");
14 var_dump(bzopen($fp, "r"));
22 var_dump(bzopen($fp, "r"));
25 var_dump(bzopen($fp, "r"));
31 var_dump(bzopen($fp, "r"));
40 var_dump(bzopen($fp, "r"));
46 var_dump(bzopen($fp, "r"));
52 var_dump(bzopen($fp, "r"));
55 var_dump(bzopen($fp, "r"));
61 var_dump(bzopen($fp, "r"));
[all …]
/PHP-7.4/ext/standard/tests/array/
H A Darray_walk_objects.phpt36 string(13) "%r\0%rtest%r\0%rvar_pri"
38 string(10) "%r\0%r*%r\0%rvar_pro"
H A Darray_walk_rec_objects.phpt36 string(13) "%r\0%rtest%r\0%rvar_pri"
38 string(10) "%r\0%r*%r\0%rvar_pro"
/PHP-7.4/ext/intl/tests/
H A Dresourcebundle_iterator.phpt10 $r = new ResourceBundle( 'en_US', BUNDLE );
12 foreach ($r as $onekey => $oneval) {
30 $r = $r->get( 'testarray' );
31 foreach ($r as $onekey => $oneval) {
/PHP-7.4/ext/standard/tests/http/
H A Dbug73297.phpt21 "data://text/plain,HTTP/1.1 100 Continue\r\n\r\nHTTP/1.1 200 OK\r\n\r\n"
H A Dhttp_response_header_01.phpt12 "data://text/plain,HTTP/1.0 200 Ok\r\nSome: Header\r\nSome: Header\r\n\r\nBody",
H A Dbug47021.phpt39 "data://text/plain,HTTP/1.1 200 OK\r\n"
40 . "Content-Type:{$spaces}text/plain{$trailing}\r\n"
41 . "Transfer-Encoding:{$spaces}Chunked{$trailing}\r\n\r\n"
43 "data://text/plain,HTTP/1.1 200 OK\r\n"
44 . "Content-Type\r\n" // Deliberately invalid header
45 . "Content-Length:{$spaces}5{$trailing}\r\n\r\n"
H A Dbug78719.phpt13 "data://text/plain,HTTP/1.0 302 Ok\r\nLocation: $url\r\n\r\nBody",
18 $stream = fopen('http://127.0.0.1:12342/', 'r', false, $context);
/PHP-7.4/ext/mysqli/tests/
H A Dmysqli_real_escape_string_unicode.phpt39 if ("манда\\rин" !== ($tmp = mysqli_real_escape_string($link, "манда\rин")))
40 printf("[008] Expecting \\r, got %s\n", $tmp);
45 if (($exp='абра\\\\ка\"да\\'."'".'бра\Zсим\\nсала\\rби\\0м') !==
46 … ($tmp = mysqli_real_escape_string($link, "абра\\ка\"да'бра\032сим\nсала\rби" . chr(0) . "м")))
63 if ("张明安\\r在" !== ($tmp = mysqli_real_escape_string($link, "张明安\r在")))
64 printf("[015] Expecting 张明安\\r在, got %s\n", $tmp);
69 if (($exp='阿卜拉\\\\嘉\"达丰\\'."'".'乳罩\Z辛\\n萨拉\\r毕\\0米') !==
70 ($tmp = mysqli_real_escape_string($link, "阿卜拉\\嘉\"达丰'乳罩\032辛\n萨拉\r毕" . chr(0) . "米")))
/PHP-7.4/ext/standard/tests/mail/
H A Dmail_basic6.phpt26 $additional_headers = "HEAD1: a\r\nHEAD2: b\r\n";
79 $additional_headers = "\r\nHEAD1: a\r\nHEAD2: b\r\n";
89 $additional_headers = "\r\n\r\nHEAD1: a\r\nHEAD2: b\r\n";
99 $additional_headers = "\n\nHEAD1: a\r\nHEAD2: b\r\n";
109 $additional_headers = "\r\rHEAD1: a\r\nHEAD2: b\r\n";
119 $additional_headers = "HEAD1: a\r\n\r\nHEAD2: b\r\n";
129 $additional_headers = "HEAD1: a\r\n\nHEAD2: b\r\n";
149 $additional_headers = "HEAD1: a\r\rHEAD2: b\r\n";
169 $additional_headers = "HEAD1: a\n\r\nHEAD2: b\r\n";
180 $additional_headers = "HEAD1: a\r\nHEAD2: b\r\n\n";
[all …]
/PHP-7.4/ext/dom/tests/
H A Dbug47849.phpt9 $aDOM->appendChild($aDOM->createElementNS('urn::root','r:root'));
22 <r:root xmlns:r="urn::root"><data xmlns="urn::data"/></r:root>
/PHP-7.4/ext/session/tests/
H A Dbug74541.phpt9 $r = new ReflectionFunction('session_start');
10 var_dump($r->getNumberOfParameters());
11 var_dump($r->getNumberOfRequiredParameters());
/PHP-7.4/tests/security/
H A Dopen_basedir_fopen.phpt11 var_dump(fopen("../bad", "r"));
12 var_dump(fopen("../bad/bad.txt", "r"));
13 var_dump(fopen("..", "r"));
14 var_dump(fopen("../", "r"));
15 var_dump(fopen("/", "r"));
16 var_dump(fopen("../bad/.", "r"));
18 var_dump(fopen("./../.", "r"));
21 var_dump(fopen("./ok.txt", "r"));
22 var_dump(fopen("ok.txt", "r"));
23 var_dump(fopen("../ok/ok.txt", "r"));
[all …]
/PHP-7.4/ext/standard/tests/file/
H A Dstream_copy_to_stream.phpt10 $src = fopen($initial_file, 'r');
22 $src = fopen($initial_file, 'r');
29 var_dump(str_replace("\r\n","\n", file_get_contents($new_file)));
37 $src = fopen($initial_file, 'r');
45 var_dump(str_replace("\r\n","\n", file_get_contents($new_file)));
53 $src = fopen($initial_file, 'r');
60 var_dump(str_replace("\r\n","\n", file_get_contents($new_file)));
68 $src = fopen($initial_file, 'r');
75 var_dump(str_replace("\r\n","\n", file_get_contents($new_file)));
84 $src = fopen($initial_file, 'r');
[all …]
H A Dfwrite_variation2-win32.phpt2 Test fwrite() function : usage variations - r+, r+b & r+t modes
26 Test fwrite with file opened in mode : r+,r+b,r+t
30 $file_modes = array("r+", "r+b", "r+t");
94 -- Opening file in r+ --
111 -- Opening file in r+b --
128 -- Opening file in r+t --
147 -- Opening file in r+ --
164 -- Opening file in r+b --
181 -- Opening file in r+t --
200 -- Opening file in r+ --
[all …]
H A Dfwrite_variation2.phpt2 Test fwrite() function : usage variations - r+, r+b & r+t modes
26 Test fwrite with file opened in mode : r+,r+b,r+t
30 $file_modes = array("r+", "r+b", "r+t");
93 -- Opening file in r+ --
110 -- Opening file in r+b --
127 -- Opening file in r+t --
146 -- Opening file in r+ --
163 -- Opening file in r+b --
180 -- Opening file in r+t --
199 -- Opening file in r+ --
[all …]
/PHP-7.4/Zend/tests/
H A Dbug33282.phpt6 $r = &$a[0];
7 $r = &$a[1];
8 $r = &$a[2];
/PHP-7.4/ext/standard/tests/strings/
H A Dnl2br_variation2.phpt17 '\r',
18 '\r\n',
21 'Hello\r\nWorld',
51 string(2) "\r"
53 string(4) "\r\n"
59 string(14) "Hello\r\nWorld"
/PHP-7.4/ext/reflection/tests/
H A D026.phpt5 $r = new ReflectionExtension("reflection");
6 $r->info();
9 $r = new ReflectionExtension("date");
10 $r->info();
/PHP-7.4/ext/oci8/tests/
H A Dbug36096.phpt26 string(%r[53]%r) "%r('ABC'|EXP)%r"
H A Dbug51291_2.phpt18 $r = @oci_execute($s, OCI_DEFAULT);
19 if (!$r) {
22 $r = oci_execute($s, OCI_DEFAULT);
24 if (is_null($r)) echo "null";
25 else if ($r === false) echo "false";
26 else if ($r === true) echo "true";
27 else echo $r;
/PHP-7.4/ext/soap/tests/
H A Dbug47021.phpt23 $chunks[$k] = sprintf("%08x\r\n%s\r\n", strlen($v), $v);
37 "data://text/plain,HTTP/1.1 200 OK\r\n".
38 "Content-Type: text/xml;charset=utf-8\r\n".
39 "Transfer-Encoding: \t chunked\t \r\n".
40 "Connection: close\r\n".
41 "\r\n".
43 "data://text/plain,HTTP/1.1 200 OK\r\n".
44 "Content-Type: text/xml;charset=utf-8\r\n".
45 "Transfer-Encoding: \t chunked\t \r\n".
46 "Connection: close\r\n".
[all …]

Completed in 33 milliseconds

12345678910>>...63