/PHP-5.5/ext/standard/tests/strings/ |
H A D | chunk_split_variation11.phpt | 22 sPeci@! ch@r$ :) & numbers 222.This is \k wrong escape char. 33 "\r\n", //White space char 35 ")speci@! ch@r$(", //String with special chars 51 sPeci@! ch@r$ :) & numbers 222.This is \k wrong escape char." 55 s Peci@! ch@r$ :) & number s 222. This i s \k w rong e scape char. " 59 saPeci@!a ch@r$a :) & anumberas 222.aThis ias \k warong eascape achar.a" 77 ch@r$ 90 s123Peci@!123 ch@r$123 :) & 123number123s 222.123This i123s \k w123rong e123scape 123char.123" 92 string(398) "This i)speci@! ch@r$(s here)speci@! ch@r$(doc st)speci@! ch@r$(ring w)speci@! ch@r$(it… 93 .)speci@! ch@r$(It als)speci@! ch@r$(o cont)speci@! ch@r$(ains [all …]
|
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 />
|
/PHP-5.5/ext/mbstring/ |
H A D | php_unicode.c | 64 long l, r, m; in prop_lookup() local 83 while (l <= r) { in prop_lookup() 88 m = (l + r) >> 1; in prop_lookup() 93 r = m - 2; in prop_lookup() 129 while (l <= r) { in case_lookup() 134 m = (l + r) >> 1; in case_lookup() 139 r = m - 3; in case_lookup() 166 long l, r; in php_unicode_toupper() local 189 r = _uccase_size - 3; in php_unicode_toupper() 197 long l, r; in php_unicode_tolower() local [all …]
|
/PHP-5.5/ext/pdo_oci/tests/ |
H A D | pdo_oci_stream_1.phpt | 42 $r = $s->fetch(); 45 echo 'Read '.stream_get_contents($r['data'], 1, 1)."$\n"; // b 46 echo 'Read '.stream_get_contents($r['data'], 2, 1)."$\n"; // cd 47 echo 'Read '.stream_get_contents($r['data'], 2, 0)."$\n"; // ab 51 echo 'Read '.stream_get_contents($r['data'], 1, 20)."$\n"; // u 52 echo 'Read '.stream_get_contents($r['data'], 1, 25)."$\n"; // z 53 echo 'Read '.stream_get_contents($r['data'], 1, 26)."$\n"; // <blank> 54 echo 'Read '.stream_get_contents($r['data'], 1, 0)."$\n"; // a 60 $r = $s->fetch(); 66 echo 'Read '.strlen(stream_get_contents($r['data'], 0,0))."\n"; // 0 [all …]
|
/PHP-5.5/ext/oci8/tests/ |
H A D | bind_char_1.phpt | 45 if ($r) 50 if ($r) 55 if ($r) 60 if ($r) 65 if ($r) 70 if ($r) 80 if ($r) 85 if ($r) 90 if ($r) 95 if ($r) [all …]
|
H A D | bind_char_1_11gR1.phpt | 44 if ($r) 49 if ($r) 54 if ($r) 59 if ($r) 64 if ($r) 69 if ($r) 79 if ($r) 84 if ($r) 89 if ($r) 94 if ($r) [all …]
|
/PHP-5.5/ext/json/ |
H A D | utf8_decode.c | 128 int r; /* the result */ in utf8_decode_next() local 150 r = ((c & 0x1F) << 6) | c1; in utf8_decode_next() 151 return r >= 128 ? r : UTF8_ERROR; in utf8_decode_next() 162 r = ((c & 0x0F) << 12) | (c1 << 6) | c2; in utf8_decode_next() 163 return r >= 2048 && (r < 55296 || r > 57343) ? r : UTF8_ERROR; in utf8_decode_next() 175 r = ((c & 0x0F) << 18) | (c1 << 12) | (c2 << 6) | c3; in utf8_decode_next() 176 return r >= 65536 && r <= 1114111 ? r : UTF8_ERROR; in utf8_decode_next()
|
/PHP-5.5/ext/openssl/tests/ |
H A D | bug67403.phpt | 8 $r = openssl_x509_parse(file_get_contents(__DIR__.'/bug64802.pem')); 9 var_dump($r['signatureTypeSN']); 10 var_dump($r['signatureTypeLN']); 11 var_dump($r['signatureTypeNID']); 13 $r = openssl_x509_parse(file_get_contents(__DIR__.'/bug37820cert.pem')); 14 var_dump($r['signatureTypeSN']); 15 var_dump($r['signatureTypeLN']); 16 var_dump($r['signatureTypeNID']);
|
/PHP-5.5/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-5.5/sapi/apache_hooks/ |
H A D | php_apache.c | 131 request_rec *r; in get_apache_request() local 150 if (!r) { in get_apache_request() 155 return r; in get_apache_request() 185 request_rec *r; in apache_request_read_string_slot() local 210 request_rec *r; in apache_request_string_slot() local 241 request_rec *r; in apache_request_read_int_slot() local 261 request_rec *r; in apache_request_int_slot() local 507 request_rec *r; in PHP_FUNCTION() local 974 r->content_type = pstrdup(r->pool, type); in PHP_FUNCTION() 1244 if (!r || ap_is_initial_req(r)) { in PHP_FUNCTION() [all …]
|
H A D | mod_php5.c | 290 reset_timeout(r); in sapi_apache_read_post() 315 if(!r) { in sapi_apache_header_handler() 343 r->content_type = pstrdup(r->pool, header_content); in sapi_apache_header_handler() 702 if ((retval = set_last_modified(r, r->finfo.st_mtime))) { in send_php() 709 update_mtime (r, r->finfo.st_mtime); in send_php() 711 set_etag(r); in send_php() 716 r->content_type = php_apache_get_default_mimetype(r TSRMLS_CC); in send_php() 1287 kill_timeout(r); in php_run_hook() 1352 r, OK); in php_type_hook() 1364 r); in php_fixup_hook() [all …]
|
/PHP-5.5/ext/mbstring/tests/ |
H A D | mb_http_output.phpt | 13 $r = mb_http_output('ASCII'); 14 ($r === TRUE) ? print "OK_ASCII_SET\n" : print "NG_ASCII_SET\n"; 19 $r = mb_http_output('SJIS'); 20 ($r === TRUE) ? print "OK_SJIS_SET\n" : print "NG_SJIS_SET\n"; 25 $r = mb_http_output('JIS'); 26 ($r === TRUE) ? print "OK_JIS_SET\n" : print "NG_JIS_SET\n"; 31 $r = mb_http_output('UTF-8'); 37 $r = mb_http_output('EUC-JP'); 46 $r = mb_http_output('BAD_NAME'); 51 $r = mb_http_output($t_ary); [all …]
|
H A D | mb_internal_encoding.phpt | 13 $r = mb_internal_encoding('EUC-JP'); 14 ($r === TRUE) ? print "OK_EUC-JP_SET\n" : print "NG_EUC-JP_SET\n"; 19 $r = mb_internal_encoding('UTF-8'); 20 ($r === TRUE) ? print "OK_UTF-8_SET\n" : print "NG_UTF-8_SET\n"; 25 $r = mb_internal_encoding('ASCII'); 26 ($r === TRUE) ? print "OK_ASCII_SET\n" : print "NG_ASCII_SET\n"; 34 $r = mb_internal_encoding('BAD'); 35 ($r === FALSE) ? print "OK_BAD_SET\n" : print "NG_BAD_SET\n"; 39 $r = mb_internal_encoding($t_ary); 40 ($r === FALSE) ? print "OK_BAD_ARY_SET\n" : print "NG_BAD_ARY_SET\n"; [all …]
|
/PHP-5.5/ext/mbstring/oniguruma/ |
H A D | regparse.c | 118 if (r != 0) return r; in bbuf_clone() 138 if (r) return r;\ 470 if (r) return r; in onig_names_free() 651 if (r) return r; in onig_names_free() 1681 if (r) return r; in new_code_range() 1702 if (r) return r; in add_code_range_to_buf() 1956 if (r != 0) return r; in and_code_range_buf() 4107 if (r < 0) return r; in next_state_val() 4122 if (r < 0) return r; in next_state_val() 5089 if (r < 0) return r; in parse_exp() [all …]
|
/PHP-5.5/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-5.5/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'];
|
/PHP-5.5/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-5.5/ext/gd/libgd/ |
H A D | gd_arc.c | 33 r = a * bq; in gdImageEllipse() 34 rx = r << 1; in gdImageEllipse() 38 if (r > 0) { in gdImageEllipse() 41 r -=ry; in gdImageEllipse() 43 if (r <= 0){ in gdImageEllipse() 47 r +=rx; in gdImageEllipse() 77 r = a * bq; in gdImageFilledEllipse() 78 rx = r << 1; in gdImageFilledEllipse() 84 if (r > 0) { in gdImageFilledEllipse() 87 r -=ry; in gdImageFilledEllipse() [all …]
|
/PHP-5.5/ext/interbase/ |
H A D | php_ibase_udf.c | 311 r->dsc_dtype = dtype_long; in call_php() 317 r->dsc_dtype = dtype_double; in call_php() 323 r->dsc_flags |= DSC_null; in call_php() 358 call_php(name, r, 1, args); in udf_call_php1() 364 call_php(name, r, 2, args); in udf_call_php2() 370 call_php(name, r, 3, args); in udf_call_php3() 377 call_php(name, r, 4, args); in udf_call_php4() 384 call_php(name, r, 5, args); in udf_call_php5() 391 call_php(name, r, 6, args); in udf_call_php6() 398 call_php(name, r, 7, args); in udf_call_php7() [all …]
|
/PHP-5.5/ext/phar/tests/ |
H A D | test_signaturealgos.phpt | 17 $r = $a->getSignature(); 18 var_dump($r['hash_type']); 20 $r = $a->getSignature(); 21 var_dump($r['hash_type']); 23 $r = $a->getSignature(); 24 var_dump($r['hash_type']); 26 $r = $a->getSignature(); 27 var_dump($r['hash_type']); 29 $r = $a->getSignature(); 30 var_dump($r['hash_type']);
|
/PHP-5.5/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-5.5/ext/sockets/tests/ |
H A D | mcast_ipv6_recv.phpt | 73 var_dump($r); 80 var_dump($r); 96 var_dump($r); 98 var_dump($r); 108 var_dump($r); 119 var_dump($r); 121 var_dump($r); 132 var_dump($r); 142 var_dump($r); 144 var_dump($r); [all …]
|
/PHP-5.5/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-5.5/ext/soap/interop/ |
H A D | test.utility.php | 11 if (!ereg($iso8601,$t,$r)) { 14 $t = gmmktime($r[4],$r[5],$r[6],$r[2],$r[3],$r[1]); 15 if (!empty($r[8]) && $r[8] != 'Z') { 16 $op = substr($r[8],0,1); 17 $h = substr($r[8],1,2); 18 if (strstr($r[8],':')) { 19 $m = substr($r[8],4,2); 21 $m = substr($r[8],3,2);
|