/PHP-7.4/ext/pdo_oci/tests/ |
H A D | pdo_oci_attr_prefetch_1.phpt | 25 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 D | bug65538_001.phpt | 26 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 D | 001.phpt | 10 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 D | 002.phpt | 13 $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 D | array_walk_objects.phpt | 36 string(13) "%r\0%rtest%r\0%rvar_pri" 38 string(10) "%r\0%r*%r\0%rvar_pro"
|
H A D | array_walk_rec_objects.phpt | 36 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 D | resourcebundle_iterator.phpt | 10 $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 D | bug73297.phpt | 21 "data://text/plain,HTTP/1.1 100 Continue\r\n\r\nHTTP/1.1 200 OK\r\n\r\n"
|
H A D | http_response_header_01.phpt | 12 "data://text/plain,HTTP/1.0 200 Ok\r\nSome: Header\r\nSome: Header\r\n\r\nBody",
|
H A D | bug47021.phpt | 39 "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 D | bug78719.phpt | 13 "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 D | mysqli_real_escape_string_unicode.phpt | 39 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 D | mail_basic6.phpt | 26 $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 D | bug47849.phpt | 9 $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 D | bug74541.phpt | 9 $r = new ReflectionFunction('session_start'); 10 var_dump($r->getNumberOfParameters()); 11 var_dump($r->getNumberOfRequiredParameters());
|
/PHP-7.4/tests/security/ |
H A D | open_basedir_fopen.phpt | 11 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 D | stream_copy_to_stream.phpt | 10 $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 D | fwrite_variation2-win32.phpt | 2 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 D | fwrite_variation2.phpt | 2 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 D | bug33282.phpt | 6 $r = &$a[0]; 7 $r = &$a[1]; 8 $r = &$a[2];
|
/PHP-7.4/ext/standard/tests/strings/ |
H A D | nl2br_variation2.phpt | 17 '\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 D | 026.phpt | 5 $r = new ReflectionExtension("reflection"); 6 $r->info(); 9 $r = new ReflectionExtension("date"); 10 $r->info();
|
/PHP-7.4/ext/oci8/tests/ |
H A D | bug36096.phpt | 26 string(%r[53]%r) "%r('ABC'|EXP)%r"
|
H A D | bug51291_2.phpt | 18 $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 D | bug47021.phpt | 23 $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 …]
|