/PHP-7.4/ext/standard/tests/strings/ |
H A D | nl2br_variation3.phpt | 15 //heredoc string containing new line chars(\n, \r and combinations of \r & \n) and new lines 18 \r 19 \r\n 21 \rrr\r\r\rr 22 \n\r\n\r\r\n\nr\rn 27 Hello\nWorld\r 29 like \n \r\n \r \n\r and etc 55 r<br /> 62 r<br />
|
H A D | chunk_split_variation10.phpt | 34 '\r', 35 '\r\n', 42 ') speci@! ch@r$ (' //string with special chars 71 string(91) "This is t\ro test ch\runk_split\r() with v\rarious 's\ringle quo\rted' endi\rng string\… 73 string(109) "This is t\r\no test ch\r\nunk_split\r\n() with v\r\narious 's\r\ningle quo\r\nted' end… 85 …r$ (o test ch) speci@! ch@r$ (unk_split) speci@! ch@r$ (() with v) speci@! ch@r$ (arious 's) speci…
|
/PHP-7.4/ext/xmlrpc/tests/ |
H A D | 002.phpt | 8 $r = xmlrpc_encode_request("method", array()); 9 var_dump(xmlrpc_decode_request($r, $method)); 12 $r = xmlrpc_encode_request("method", 1); 13 var_dump(xmlrpc_decode_request($r, $method)); 16 $r = xmlrpc_encode_request("method", 'param'); 17 var_dump(xmlrpc_decode_request($r, $method)); 20 $r = xmlrpc_encode_request(-1, ""); 21 var_dump(xmlrpc_decode_request($r, $method)); 24 $r = xmlrpc_encode_request(array(), 1); 25 var_dump(xmlrpc_decode_request($r, $method));
|
/PHP-7.4/ext/phar/tests/ |
H A D | test_signaturealgos.phpt | 15 $r = $a->getSignature(); 16 var_dump($r['hash_type']); 18 $r = $a->getSignature(); 19 var_dump($r['hash_type']); 21 $r = $a->getSignature(); 22 var_dump($r['hash_type']); 24 $r = $a->getSignature(); 25 var_dump($r['hash_type']); 27 $r = $a->getSignature(); 28 var_dump($r['hash_type']);
|
H A D | bug74386.phpt | 7 $r = new ReflectionMethod(Phar::class, '__construct'); 8 var_dump($r->getNumberOfRequiredParameters()); 9 var_dump($r->getNumberOfParameters()); 11 $r = new ReflectionMethod(PharData::class, '__construct'); 12 var_dump($r->getNumberOfRequiredParameters()); 13 var_dump($r->getNumberOfParameters());
|
/PHP-7.4/ext/standard/tests/file/windows_mb_path/ |
H A D | test_cp1250_to_utf8_4.phpt | 23 $item = "Árvíztűrő tükörfúrógép"; // cp1250 specific chars 47 getting basename of %s\Árvíztűrő tükörfúrógép42\Árvíztűrő tükörfúrógép4 48 string(32) "Árvíztűrő tükörfúrógép4" 50 string(%d) "%s\Árvíztűrő tükörfúrógép42\Árvíztűrő tükörfúrógép4"
|
/PHP-7.4/ext/intl/tests/ |
H A D | resourcebundle_arrayaccess.phpt | 10 $r = new ResourceBundle( 'en_US', BUNDLE ); 12 printf( "length: %d\n", count($r) ); 13 printf( "teststring: %s\n", $r['teststring'] ); 14 printf( "testint: %d\n", $r['testint'] ); 16 print_r( $r['testvector'] ); 18 printf( "testbin: %s\n", bin2hex($r['testbin']) ); 20 $r2 = $r['testtable']; 23 $r2 = $r['testarray']; 26 $t = $r['nonexisting'];
|
H A D | resourcebundle_individual.phpt | 12 $r = ut_resourcebundle_create( 'en_US', BUNDLE ); 14 $str_res .= sprintf( "length: %d\n", ut_resourcebundle_count($r) ); 15 $str_res .= sprintf( "teststring: %s\n", ut_resourcebundle_get($r, 'teststring' ) ); 16 $str_res .= sprintf( "testint: %d\n", ut_resourcebundle_get($r, 'testint' ) ); 18 $str_res .= print_r( ut_resourcebundle_get($r, 'testvector' ), true ); 20 $str_res .= sprintf( "testbin: %s\n", bin2hex(ut_resourcebundle_get( $r,'testbin' )) ); 22 $r2 = ut_resourcebundle_get($r, 'testtable' ); 25 $r2 = ut_resourcebundle_get($r,'testarray' ); 28 $t = ut_resourcebundle_get( $r, 'nonexisting' );
|
/PHP-7.4/ext/standard/tests/filters/ |
H A D | chunked_001.phpt | 13 "data://text/plain,0\r\n", 14 "data://text/plain,2\r\nte\r\n2\r\nst\r\n0\r\n", 16 "data://text/plain,2;a=1\nte\n2;a=2;b=3\r\nst\n0\n", 17 "data://text/plain,2\nte\n2\nst\n0\na=b\r\nc=d\n\r\n", 22 $fp = fopen($name, "r");
|
/PHP-7.4/ext/gd/tests/ |
H A D | dashedlines.phpt | 12 $r = 0xff0000; 15 $style = array($r, $b); 20 $p1 = imagecolorat($im, 0,5) == $r; 22 $p3 = imagecolorat($im, 2,5) == $r; 24 $p5 = imagecolorat($im, 4,5) == $r; 36 $style = array($r, $b); 41 $p1 = imagecolorat($im, 2,0) == $r; 43 $p3 = imagecolorat($im, 2,2) == $r; 45 $p5 = imagecolorat($im, 2,4) == $r; 57 $style = array($r, $b); [all …]
|
/PHP-7.4/ext/reflection/tests/ |
H A D | bug30146.phpt | 9 $r = new ReflectionProperty('test', 'a'); 10 var_dump($r->getValue(null)); 12 $r->setValue(NULL, 2); 13 var_dump($r->getValue()); 15 $r->setValue(3); 16 var_dump($r->getValue());
|
/PHP-7.4/ext/date/tests/ |
H A D | bug30096.phpt | 29 echo $ts, " | gmdate('r', $ts):", gmdate('r', $ts); 39 gmmktime(1,0,0,3,27,2005): 1111885200 | gmdate('r', 1111885200):Sun, 27 Mar 2005 01:00:00 +0000 40 gmmktime(2,0,0,3,27,2005): 1111888800 | gmdate('r', 1111888800):Sun, 27 Mar 2005 02:00:00 +0000 | D… 41 gmmktime(3,0,0,3,27,2005): 1111892400 | gmdate('r', 1111892400):Sun, 27 Mar 2005 03:00:00 +0000 | D… 42 gmmktime(4,0,0,3,27,2005): 1111896000 | gmdate('r', 1111896000):Sun, 27 Mar 2005 04:00:00 +0000 | D… 45 gmmktime(1,0,0,10,30,2005): 1130634000 | gmdate('r', 1130634000):Sun, 30 Oct 2005 01:00:00 +0000 46 gmmktime(2,0,0,10,30,2005): 1130637600 | gmdate('r', 1130637600):Sun, 30 Oct 2005 02:00:00 +0000 | … 47 gmmktime(3,0,0,10,30,2005): 1130641200 | gmdate('r', 1130641200):Sun, 30 Oct 2005 03:00:00 +0000 | … 48 gmmktime(4,0,0,10,30,2005): 1130644800 | gmdate('r', 1130644800):Sun, 30 Oct 2005 04:00:00 +0000 | …
|
/PHP-7.4/ext/zlib/tests/ |
H A D | bug75299.phpt | 7 $r = new ReflectionFunction('inflate_init'); 8 var_dump($r->getNumberOfRequiredParameters()); 9 var_dump($r->getNumberOfParameters()); 10 $r = new ReflectionFunction('inflate_add'); 11 var_dump($r->getNumberOfRequiredParameters()); 12 var_dump($r->getNumberOfParameters());
|
H A D | dictionary_usage.phpt | 10 $r = deflate_init(ZLIB_ENCODING_DEFLATE, ["dictionary" => $dict]); 11 $a = deflate_add($r, "abdcde", ZLIB_FINISH); 14 $r = deflate_init(ZLIB_ENCODING_DEFLATE, ["dictionary" => implode("\0", $dict)."\0"]); 15 $dictStr_a = deflate_add($r, "abdcde", ZLIB_FINISH); 18 $r = inflate_init(ZLIB_ENCODING_DEFLATE, ["dictionary" => $dict]); 19 var_dump(inflate_add($r, $a, ZLIB_FINISH)); 22 $r = inflate_init(ZLIB_ENCODING_DEFLATE, ["dictionary" => ["8"] + range("a", "z")]); 23 var_dump(inflate_add($r, $a, ZLIB_FINISH));
|
/PHP-7.4/ext/mbstring/tests/ |
H A D | mb_http_output.phpt | 12 $r = mb_http_output('ASCII'); 13 ($r === TRUE) ? print "OK_ASCII_SET\n" : print "NG_ASCII_SET\n"; 18 $r = mb_http_output('SJIS'); 19 ($r === TRUE) ? print "OK_SJIS_SET\n" : print "NG_SJIS_SET\n"; 24 $r = mb_http_output('JIS'); 25 ($r === TRUE) ? print "OK_JIS_SET\n" : print "NG_JIS_SET\n"; 30 $r = mb_http_output('UTF-8'); 36 $r = mb_http_output('EUC-JP'); 45 $r = mb_http_output('BAD_NAME'); 50 $r = mb_http_output($t_ary); [all …]
|
H A D | mb_internal_encoding.phpt | 12 $r = mb_internal_encoding('EUC-JP'); 13 ($r === TRUE) ? print "OK_EUC-JP_SET\n" : print "NG_EUC-JP_SET\n"; 18 $r = mb_internal_encoding('UTF-8'); 19 ($r === TRUE) ? print "OK_UTF-8_SET\n" : print "NG_UTF-8_SET\n"; 24 $r = mb_internal_encoding('ASCII'); 25 ($r === TRUE) ? print "OK_ASCII_SET\n" : print "NG_ASCII_SET\n"; 33 $r = mb_internal_encoding('BAD'); 34 ($r === false) ? print "OK_BAD_SET\n" : print "NG_BAD_SET\n"; 38 $r = mb_internal_encoding($t_ary); 39 ($r === NULL) ? print "OK_BAD_ARY_SET\n" : print "NG_BAD_ARY_SET\n"; [all …]
|
/PHP-7.4/ext/opcache/tests/ |
H A D | jmp_elim_002.phpt | 15 $r = wp_parse_args( $args, $defaults ); 17 if ( ! empty( $r['limit'] ) ) { 18 $r['limit'] = absint( $r['limit'] ); 19 $r['limit'] = ' LIMIT ' . $r['limit']; 29 if ( $r['echo'] ) {
|
/PHP-7.4/ext/dom/tests/ |
H A D | DOMDocument_loadXML_error2.phpt | 22 Warning: DOMDocument::load%r(XML){0,1}%r(): AttValue: " or ' expected %s 24 Warning: DOMDocument::load%r(XML){0,1}%r(): attributes construct error %s 26 Warning: DOMDocument::load%r(XML){0,1}%r(): Couldn't find end of Start Tag book %s 28 Warning: DOMDocument::load%r(XML){0,1}%r(): Opening and ending tag mismatch: books %s 30 Warning: DOMDocument::load%r(XML){0,1}%r(): Extra content at the end of the document %s
|
H A D | DOMDocument_load_error2.phpt | 22 Warning: DOMDocument::load%r(XML){0,1}%r(): AttValue: " or ' expected %s 24 Warning: DOMDocument::load%r(XML){0,1}%r(): attributes construct error %s 26 Warning: DOMDocument::load%r(XML){0,1}%r(): Couldn't find end of Start Tag book %s 28 Warning: DOMDocument::load%r(XML){0,1}%r(): Opening and ending tag mismatch: books %s 30 Warning: DOMDocument::load%r(XML){0,1}%r(): Extra content at the end of the document %s
|
/PHP-7.4/ext/sockets/tests/ |
H A D | mcast_ipv6_recv.phpt | 72 var_dump($r); 79 var_dump($r); 95 var_dump($r); 97 var_dump($r); 107 var_dump($r); 118 var_dump($r); 120 var_dump($r); 131 var_dump($r); 141 var_dump($r); 143 var_dump($r); [all …]
|
H A D | mcast_ipv4_recv.phpt | 52 var_dump($r); 68 var_dump($r); 70 var_dump($r); 80 var_dump($r); 82 var_dump($r); 93 var_dump($r); 95 var_dump($r); 106 var_dump($r); 116 var_dump($r); 118 var_dump($r); [all …]
|
/PHP-7.4/ext/spl/tests/ |
H A D | bug75242.phpt | 8 $r = new ReflectionClass(Foo::class); 9 var_dump($r->getConstants()); 10 $r = new ReflectionClass(ArrayIterator::class); 11 var_dump($r->getConstants()); 12 $r = new ReflectionClass(RecursiveArrayIterator::class); 13 var_dump($r->getConstants());
|
/PHP-7.4/ext/mysqli/ |
H A D | mysqli_mysqlnd.h | 33 #define mysqli_result_is_unbuffered(r) ((r)->unbuf) argument 34 #define mysqli_result_is_unbuffered_and_not_everything_is_fetched(r) ((r)->unbuf && !(r)->unbuf->eo… argument 42 #define mysqli_free_result(r, implicit) mysqlnd_free_result((r), (implicit)) argument
|
/PHP-7.4/sapi/cli/tests/ |
H A D | emptyheader.phpt | 15 fwrite($fp, "GET / HTTP/1.1\r\nUser-Agent\r\nAccept: */*\r\nReferer:\r\nHi\r\n\r\n");
|
/PHP-7.4/ext/gmp/tests/ |
H A D | gmp_div_r.phpt | 11 var_dump($r = gmp_div_r(0,1)); 12 var_dump($r = gmp_div_r(1,0)); 13 var_dump($r = gmp_div_r(12653,23482734)); 14 var_dump($r = gmp_div_r(12653,23482734, 10)); 15 var_dump($r = gmp_div_r(1123123,123)); 16 var_dump($r = gmp_div_r(1123123,123, 1)); 17 var_dump($r = gmp_div_r(1123123,123, 2)); 18 var_dump($r = gmp_div_r(1123123,123, GMP_ROUND_ZERO)); 19 var_dump($r = gmp_div_r(1123123,123, GMP_ROUND_PLUSINF)); 20 var_dump($r = gmp_div_r(1123123,123, GMP_ROUND_MINUSINF)); [all …]
|