/php-src/ext/opcache/tests/ |
H A D | issue0079.phpt | 13 $r = $this->my_parse_m(); 14 var_dump ($r); 15 return $r;
|
/php-src/ext/spl/tests/ |
H A D | regexiterator_setpregflags.phpt | 25 $r = new TestRegexIterator(new myIterator, $rege); 27 $r->setPregFlags(PREG_OFFSET_CAPTURE); 29 echo $r->getPregFlags();
|
H A D | regexiterator_getpregflags.phpt | 25 $r = new TestRegexIterator(new myIterator, $rege); 27 $r->setPregFlags(PREG_OFFSET_CAPTURE); 29 echo is_long($r->getPregFlags());
|
/php-src/ext/standard/tests/file/ |
H A D | bug39673.phpt | 24 $r = file_get_contents($filename, false, null, $offset); 25 if ($r !== false) var_dump(strlen($r));
|
H A D | 007_variation18.phpt | 2 Test fopen and fclose() functions - usage variations - "r+b" mode 6 /* Test fopen() and fclose(): Opening the file in "r+b" mode, 18 echo "*** Test fopen() & fclose() functions: with 'r+b' mode ***\n"; 19 $file_handle = fopen($file, "r+b"); //opening the file in "r+b" mode 36 *** Test fopen() & fclose() functions: with 'r+b' mode ***
|
H A D | 007_variation2.phpt | 2 Test fopen and fclose() functions - usage variations - "r+" mode 6 /* Test fopen() and fclose(): Opening the file in "r+" mode, 18 echo "*** Test fopen() & fclose() functions: with 'r+' mode ***\n"; 19 $file_handle = fopen($file, "r+"); //opening the file in "r+" mode 36 *** Test fopen() & fclose() functions: with 'r+' mode ***
|
H A D | 007_variation10.phpt | 2 Test fopen and fclose() functions - usage variations - "r+t" mode 6 /* Test fopen() and fclose(): Opening the file in "r+t" mode, 18 echo "*** Test fopen() & fclose() functions: with 'r+t' mode ***\n"; 19 $file_handle = fopen($file, "r+t"); //opening the file in "r+t" mode 36 *** Test fopen() & fclose() functions: with 'r+t' mode ***
|
H A D | stream_supports_lock.phpt | 7 $fp = fopen(__FILE__, "r"); 12 $fp = fopen("file://" . __FILE__, "r"); 17 $fp = fopen("php://memory", "r"); 22 $fp = fopen('data://text/plain,foobar', 'r');
|
H A D | fputcsv_variation7.phpt | 31 $file_modes = array ("r+", "r+b", "r+t", 76 -- file opened in r+ -- 83 -- file opened in r+b -- 90 -- file opened in r+t -- 160 -- file opened in r+ -- 167 -- file opened in r+b -- 174 -- file opened in r+t -- 244 -- file opened in r+ -- 328 -- file opened in r+ -- 412 -- file opened in r+ -- [all …]
|
H A D | fputcsv_variation8.phpt | 31 $file_modes = array ("r+", "r+b", "r+t", 76 -- file opened in r+ -- 83 -- file opened in r+b -- 90 -- file opened in r+t -- 160 -- file opened in r+ -- 167 -- file opened in r+b -- 174 -- file opened in r+t -- 244 -- file opened in r+ -- 328 -- file opened in r+ -- 412 -- file opened in r+ -- [all …]
|
H A D | fputcsv_variation10.phpt | 22 $file_modes = array ("r+", "r+b", "r+t", 33 if ( strstr($file_modes[$mode_counter], "r") ) { 66 -- file opened in r+ -- 73 -- file opened in r+b -- 80 -- file opened in r+t -- 150 -- file opened in r+ -- 158 -- file opened in r+b -- 166 -- file opened in r+t -- 246 -- file opened in r+ -- 253 -- file opened in r+b -- [all …]
|
H A D | fgetcsv_variation21.phpt | 15 $file_modes = array ("r","rb", "rt", "r+", "r+b", "r+t", 23 if ( strstr($file_modes[$mode_counter], "r") ) { 37 if ( strstr($file_modes[$mode_counter], "r" ) ) { 67 -- Testing fgetcsv() with file opened using r mode -- 91 -- Testing fgetcsv() with file opened using r+ mode -- 99 -- Testing fgetcsv() with file opened using r+b mode -- 107 -- Testing fgetcsv() with file opened using r+t mode --
|
/php-src/sapi/phpdbg/tests/ |
H A D | run_001.phpt | 4 r 5 r 1 2 3 6 r
|
/php-src/ext/reflection/tests/ |
H A D | bug49074.phpt | 15 $r = new ReflectionClass('Test2'); 16 $m = $r->getStaticProperties(); 23 var_dump($r->getStaticProperties());
|
/php-src/Zend/tests/ |
H A D | settype_null.phpt | 6 $r = fopen(__FILE__, "r"); 28 $r,
|
/php-src/ext/xml/tests/ |
H A D | xml_error_string_basic_libxml.phpt | 15 int(%r5|77%r) 16 string(%d) %r"Invalid document end"|"Tag not finished"%r
|
/php-src/ext/dom/tests/modern/html/encoding/ |
H A D | HTMLDocument_createFromFile_http_header.phpt | 38 "\t\r text/html; charset=ISO-8859-1 \t", 39 "\t\r text/html; charset=ISO-8859-1 \t;bar=\"foo\"", 40 "\t\r text/html; charset=ISO-8859-1 \t;bar=\"foo\"\r\n\t ", 62 …y_map(fn ($header) => "data://text/plain,HTTP/1.1 200 OK\r\nContent-Type: " . $header . "\r\n\r\n"…
|
/php-src/ext/standard/tests/streams/ |
H A D | stream_multi_filters_close.phpt | 44 $r = fopen("php://stdout", "w+"); 47 $first = stream_filter_prepend($r, "first", STREAM_FILTER_WRITE, []); 48 $second = stream_filter_prepend($r, "second", STREAM_FILTER_WRITE, []); 49 fwrite($r, "test\n");
|
/php-src/ext/standard/tests/strings/ |
H A D | nl2br_variation4.phpt | 16 "<html>\nHello\r\nworld\r</html>", 17 "<html>\n \r\n \r</html>",
|
/php-src/ext/date/tests/ |
H A D | timezone_offset_get_basic1.phpt | 24 %rint\(0\)|int\(3600\)%r 25 %rint\(-18000\)|int\(-14400\)%r 26 %rint\(-28800\)|int\(-25200\)%r
|
/php-src/ext/mbstring/tests/ |
H A D | mb_strpos.phpt | 48 ($r === FALSE) ? print "OK_STR\n" : print "NG_STR\n"; 49 $r = mb_strpos($euc_jp, "\n", 0, 'EUC-JP'); 50 ($r === FALSE) ? print "OK_NEWLINE\n" : print "NG_NEWLINE\n"; 63 $r = mb_strpos($euc_jp, "\xB4\xDA\xB9\xF1\xB8\xEC", 0); 64 ($r === FALSE) ? print "OK_STR\n" : print "NG_STR\n"; 65 $r = mb_strpos($euc_jp, "\n", 0); 66 ($r === FALSE) ? print "OK_NEWLINE\n" : print "NG_NEWLINE\n"; 78 $r = mb_strpos($euc_jp, "\xB4\xDA\xB9\xF1\xB8\xEC"); 79 ($r === FALSE) ? print "OK_STR\n" : print "NG_STR\n"; 80 $r = mb_strpos($euc_jp, "\n"); [all …]
|
/php-src/ext/spl/tests/SplFileObject/ |
H A D | SplFileObject_fputcsv_variation10.phpt | 23 $file_modes = array ("r+", "r+b", "r+t", 34 if ( strstr($file_modes[$mode_counter], "r") ) { 63 -- file opened in r+ -- 70 -- file opened in r+b -- 77 -- file opened in r+t -- 147 -- file opened in r+ -- 155 -- file opened in r+b -- 163 -- file opened in r+t -- 243 -- file opened in r+ -- 250 -- file opened in r+b -- [all …]
|
/php-src/ext/standard/tests/http/ |
H A D | http_response_header_05.phpt | 12 "data://text/plain,HTTP/1.0 200 Ok\r\n \r\n\r\nBody",
|
H A D | ignore_errors.phpt | 16 "data://text/plain,HTTP/1.1 200 Ok\r\nX-Foo: bar\r\n\r\n1", 17 "data://text/plain,HTTP/1.1 404 Not found\r\nX-bar: baz\r\n\r\n2", 22 foreach($responses as $r) {
|
/php-src/ext/gd/libgd/ |
H A D | gd_pixelate.c | 26 int a, r, g, b, c; in gdImagePixelate() local 30 a = r = g = b = c = total = 0; in gdImagePixelate() 39 r += gdImageRed(im, c); in gdImagePixelate() 47 c = gdImageColorResolveAlpha(im, r / total, g / total, b / total, a / total); in gdImagePixelate()
|