/PHP-5.3/ext/mysqlnd/ |
H A D | mysqlnd_libmysql_compat.h | 47 #define mysql_commit(r) mysqlnd_commit((r)) argument 51 #define mysql_errno(r) mysqlnd_errno((r)) argument 52 #define mysql_error(r) mysqlnd_error((r)) argument 63 #define mysql_insert_id(r) mysqlnd_insert_id((r)) argument 64 #define mysql_kill(r,n) mysqlnd_kill((r), (n)) argument 72 #define mysql_num_rows(r) mysqlnd_num_rows((r)) argument 73 #define mysql_ping(r) mysqlnd_ping((r)) argument 77 #define mysql_rollback(r) mysqlnd_rollback((r)) argument 81 #define mysql_sqlstate(r) mysqlnd_sqlstate((r)) argument 108 #define mysql_info(r) mysqlnd_info((r)) argument [all …]
|
/PHP-5.3/sapi/apache2handler/ |
H A D | sapi_apache2.c | 82 r = ctx->r; in php_apache_sapi_ub_write() 191 r = ctx->r; in php_apache_sapi_read_post() 304 r = ctx->r; in php_apache_sapi_flush() 311 if (ap_rflush(r) < 0 || r->connection->aborted) { in php_apache_sapi_flush() 332 if (r) { in php_apache_sapi_log_message_ex() 562 ctx->r = r; in php_handler() 566 ctx->r = r; in php_handler() 581 && r->path_info && r->path_info[0]) { in php_handler() 606 r->subprocess_env != r->main->subprocess_env in php_handler() 646 ctx->r = r; in php_handler() [all …]
|
/PHP-5.3/ext/standard/tests/strings/ |
H A D | nl2br.phpt | 8 var_dump(nl2br("\r\n")); 10 var_dump(nl2br("\r")); 11 var_dump(nl2br("\n\r")); 13 var_dump(nl2br("\n\r\r\n\r\r\r\r")); 14 var_dump(nl2br("\n\r\n\n\r\n\r\r\n\r\n")); 15 var_dump(nl2br("\n\r\n\n\n\n\r\r\r\r\n\r"));
|
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 …]
|
/PHP-5.3/ext/gd/libgd/ |
H A D | gd_io.c | 27 if (r == EOF) { \ 78 int r; in gdGetByte() local 80 GD_IO_EOF_CHK(r); in gdGetByte() 81 *result = r; in gdGetByte() 87 int r; in gdGetWord() local 89 GD_IO_EOF_CHK(r); in gdGetWord() 90 *result = r << 8; in gdGetWord() 93 *result += r; in gdGetWord() 100 int r; in gdGetInt() local 110 if (r == EOF) { in gdGetInt() [all …]
|
/PHP-5.3/ext/gmp/tests/ |
H A D | 018.phpt | 8 $r = gmp_sqrtrem(-1); 9 var_dump(gmp_strval($r[0])); 10 var_dump(gmp_strval($r[1])); 12 $r = gmp_sqrtrem("0"); 16 $r = gmp_sqrtrem(2); 20 $r = gmp_sqrtrem(10); 24 $r = gmp_sqrtrem(7); 28 $r = gmp_sqrtrem(3); 32 $r = gmp_sqrtrem(100000); 46 $r = gmp_sqrtrem($n); [all …]
|
H A D | 008.phpt | 11 var_dump($r = gmp_div_r(0,1)); 12 var_dump(gmp_strval($r)); 13 var_dump($r = gmp_div_r(1,0)); 15 var_dump(gmp_strval($r)); 17 var_dump(gmp_strval($r)); 19 var_dump(gmp_strval($r)); 21 var_dump(gmp_strval($r)); 23 var_dump(gmp_strval($r)); 25 var_dump(gmp_strval($r)); 27 var_dump(gmp_strval($r)); [all …]
|
H A D | 007.phpt | 11 var_dump($r = gmp_div_qr(0,1)); 12 var_dump(gmp_strval($r[0])); 13 var_dump(gmp_strval($r[1])); 16 var_dump(gmp_strval($r[0])); 17 var_dump(gmp_strval($r[1])); 19 var_dump(gmp_strval($r[0])); 20 var_dump(gmp_strval($r[1])); 22 var_dump(gmp_strval($r[0])); 23 var_dump(gmp_strval($r[1])); 25 var_dump(gmp_strval($r[0])); [all …]
|
H A D | 011.phpt | 17 var_dump(gmp_strval($r)); 19 $r = gmp_divexact("233", "0"); 20 var_dump(gmp_strval($r)); 23 var_dump(gmp_strval($r)); 26 var_dump(gmp_strval($r)); 29 $r = gmp_divexact($n, "2"); 30 var_dump(gmp_strval($r)); 32 $r = gmp_divexact($n, "50"); 33 var_dump(gmp_strval($r)); 36 $r = gmp_divexact($n1, $n); [all …]
|
H A D | 009.phpt | 11 var_dump($r = gmp_div_q(0,1)); 12 var_dump(gmp_strval($r)); 13 var_dump($r = gmp_div_q(1,0)); 15 var_dump(gmp_strval($r)); 17 var_dump(gmp_strval($r)); 19 var_dump(gmp_strval($r)); 21 var_dump(gmp_strval($r)); 23 var_dump(gmp_strval($r)); 25 var_dump(gmp_strval($r)); 27 var_dump(gmp_strval($r)); [all …]
|
/PHP-5.3/sapi/apache2filter/ |
H A D | sapi_apache2.c | 129 ctx->r->content_type = apr_pstrdup(ctx->r->pool, val); in php_apache_sapi_header_handler() 371 if (f->r->proxyreq) { in php_input_filter() 416 f->r->content_type = apr_pstrdup(f->r->pool, content_type); in php_apache_request_ctor() 435 ctx->r->user = apr_pstrdup(ctx->r->pool, SG(request_info).auth_user); in php_apache_request_ctor() 509 f->r->subprocess_env != f->r->main->subprocess_env in php_output_filter() 560 if (!f->r->main) { in php_output_filter() 660 ap_add_output_filter("PHP", NULL, r, r->connection); in php_add_filter() 662 ap_add_input_filter("PHP", NULL, r, r->connection); in php_add_filter() 672 php_add_filter(r, r->output_filters); in php_insert_filter() 673 php_add_filter(r, r->input_filters); in php_insert_filter() [all …]
|
/PHP-5.3/ext/ftp/tests/ |
H A D | server.inc | 50 fputs($fs, "\r\n"); 99 fputs($s, "220----- PHP FTP server 0.3 -----\r\n220 Service ready\r\n"); 129 fputs($s, "200 OK\r\n"); 137 fputs($s, "200 OK\r\n"); 186 fputs($s, " USER\r\n"); 187 fputs($s, " HELP\r\n"); 209 fputs($s, "200 OK\r\n"); 213 fputs($s, "200 OK\r\n"); 221 fputs($s, "200 OK.\r\n"); 240 …) || isset($bug39583)) && $data === strtr($orig, array("\r\n" => "\n", "\r" => "\n", "\n" => "\r\n… [all …]
|
/PHP-5.3/ext/mbstring/tests/ |
H A D | mb_strpos.phpt | 38 $r = mb_strpos($euc_jp, 3, -15, 'EUC-JP'); 40 $r = mb_strpos($euc_jp, 0, -15, 'EUC-JP'); 62 // echo gettype($r). ' val '. $r ."\n"; 67 $r = mb_strpos($euc_jp, b'�ڹ��', 0, 'EUC-JP'); 82 $r = mb_strpos($euc_jp, b'�ڹ��', 0); 84 $r = mb_strpos($euc_jp, b"\n", 0); 96 $r = mb_strpos($euc_jp, b'�ڹ��'); 98 $r = mb_strpos($euc_jp, b"\n"); 105 $r = mb_strpos($euc_jp,'','EUC-JP'); 107 $r = mb_strpos($euc_jp, $t_ary, 'EUC-JP'); [all …]
|
H A D | mb_stripos.phpt | 37 $r = mb_stripos($euc_jp,b'���ܸ�', -15, 'EUC-JP'); 41 $r = mb_stripos($euc_jp, 3, -15, 'EUC-JP'); 65 // echo gettype($r). ' val '. $r ."\n"; 70 $r = mb_stripos($euc_jp, b'�ڹ��', 0, 'EUC-JP'); 85 $r = mb_stripos($euc_jp,b'�ڹ��', 0); 87 $r = mb_stripos($euc_jp,b"\n", 0); 99 $r = mb_stripos($euc_jp,b'�ڹ��'); 101 $r = mb_stripos($euc_jp,b"\n"); 108 $r = mb_stripos($euc_jp,'','EUC-JP'); 110 $r = mb_stripos($euc_jp, $t_ary, 'EUC-JP'); [all …]
|
/PHP-5.3/ext/standard/tests/file/ |
H A D | bug44034.phpt | 9 $urls[] = "data://text/plain,foo\r\nbar\r\n"; 10 $urls[] = "data://text/plain,\r\nfoo\r\nbar\r\n"; 11 $urls[] = "data://text/plain,foo\r\nbar"; 14 echo strtr($url, array("\r" => "\\r", "\n" => "\\n")) . "\n"; 19 data://text/plain,foo\r\nbar\r\n 26 data://text/plain,\r\nfoo\r\nbar\r\n 35 data://text/plain,foo\r\nbar
|
/PHP-5.3/ext/mbstring/oniguruma/ |
H A D | regcomp.c | 254 if (r) return r; in add_opcode_rel_addr() 279 if (r) return r; in add_opcode_option() 352 if (r) return r; in compile_tree_empty_check() 375 if (r) return r; in compile_call() 378 if (r) return r; in compile_call() 815 if (r) return r; in compile_quantifier_node() 849 if (r) return r; in compile_quantifier_node() 854 if (r) return r; in compile_quantifier_node() 856 if (r) return r; in compile_quantifier_node() 872 if (r) return r; in compile_quantifier_node() [all …]
|
H A D | regtrav.c | 39 int r, i; in capture_tree_traverse() local 45 r = (*callback_func)(node->group, node->beg, node->end, in capture_tree_traverse() 47 if (r != 0) return r; in capture_tree_traverse() 51 r = capture_tree_traverse(node->childs[i], at, in capture_tree_traverse() 53 if (r != 0) return r; in capture_tree_traverse() 57 r = (*callback_func)(node->group, node->beg, node->end, in capture_tree_traverse() 59 if (r != 0) return r; in capture_tree_traverse()
|
/PHP-5.3/ext/ereg/regex/ |
H A D | regerror.c | 71 register const struct rerr *r; in regerror() local 80 for (r = rerrs; r->code >= 0; r++) in regerror() 81 if (r->code == target) in regerror() 85 if (r->code >= 0) { in regerror() 86 (void) strncpy(convbuf, r->name, sizeof(convbuf) - 1); in regerror() 94 s = r->explain; in regerror() 120 register const struct rerr *r; local 122 for (r = rerrs; r->code >= 0; r++) 123 if (strcmp(r->name, preg->re_endp) == 0) 125 if (r->code < 0) [all …]
|
/PHP-5.3/sapi/apache/ |
H A D | mod_php5.c | 145 reset_timeout(r); in sapi_apache_read_post() 170 if(!r) { in sapi_apache_header_handler() 198 r->content_type = pstrdup(r->pool, header_content); in sapi_apache_header_handler() 239 r->status_line = ap_pstrndup(r->pool, sline + 9, sline_len - 9); in sapi_apache_send_headers() 554 r->connection->user = pstrdup(r->connection->pool, tmp_user); in init_request_info() 636 r->content_type = php_apache_get_default_mimetype(r TSRMLS_CC); in send_php() 658 if ((retval = set_last_modified(r, r->finfo.st_mtime))) { in send_php() 665 update_mtime (r, r->finfo.st_mtime); in send_php() 667 set_etag(r); in send_php() 672 r->content_type = php_apache_get_default_mimetype(r TSRMLS_CC); in send_php() [all …]
|
/PHP-5.3/tests/lang/ |
H A D | execution_order.phpt | 18 echo "\r\n"; 25 echo "\r\n"; 32 echo "\r\n"; 39 echo "\r\n"; 44 echo "\r\n"; 51 echo "\r\n"; 64 echo "\r\n"; 69 echo "\r\n"; 77 echo "\r\n"; 83 echo "\r\n"; [all …]
|
/PHP-5.3/ext/sqlite/tests/ |
H A D | sqlite_oo_013.phpt | 25 while ($r->valid()) { 27 var_dump($r->column(0)); 28 var_dump($r->column(1)); 29 var_dump($r->column('a')); 30 var_dump($r->column('b')); 31 $r->next(); 35 while ($r->valid()) { 36 var_dump($r->column(0)); 37 var_dump($r->column('b')); 38 var_dump($r->column(1)); [all …]
|
H A D | sqlite_013.phpt | 25 while (sqlite_valid($r)) { 27 var_dump(sqlite_column($r, 0)); 28 var_dump(sqlite_column($r, 1)); 29 var_dump(sqlite_column($r, 'a')); 30 var_dump(sqlite_column($r, 'b')); 31 sqlite_next($r); 35 while (sqlite_valid($r)) { 36 var_dump(sqlite_column($r, 0)); 37 var_dump(sqlite_column($r, 'b')); 38 var_dump(sqlite_column($r, 1)); [all …]
|
/PHP-5.3/ext/reflection/tests/ |
H A D | 002.phpt | 19 var_dump($r->class); 20 var_dump($r->name); 21 var_dump($r->foo); 22 @var_dump($r->bar); 34 $r->name = 'bullshit'; 41 $r->foo = 'bar'; 42 $r->bar = 'baz'; 44 var_dump($r->class); 45 var_dump($r->name); 46 var_dump($r->foo); [all …]
|
/PHP-5.3/ext/calendar/tests/ |
H A D | jdtojewish.phpt | 8 var_dump(jdtojewish(gregoriantojd(10,28,2002))."\r\n". 9 jdtojewish(gregoriantojd(10,28,2002),true)."\r\n". 10 jdtojewish(gregoriantojd(10,28,2002),true, CAL_JEWISH_ADD_ALAFIM_GERESH)."\r\n". 11 jdtojewish(gregoriantojd(10,28,2002),true, CAL_JEWISH_ADD_ALAFIM)."\r\n". 12 …jdtojewish(gregoriantojd(10,28,2002),true, CAL_JEWISH_ADD_ALAFIM_GERESH+CAL_JEWISH_ADD_ALAFIM)."\r… 13 jdtojewish(gregoriantojd(10,28,2002),true, CAL_JEWISH_ADD_GERESHAYIM)."\r\n". 14 jdtojewish(gregoriantojd(10,8,2002),true, CAL_JEWISH_ADD_GERESHAYIM)."\r\n". 15 …wish(gregoriantojd(10,8,2002),true, CAL_JEWISH_ADD_GERESHAYIM+CAL_JEWISH_ADD_ALAFIM_GERESH)."\r\n". 16 jdtojewish(gregoriantojd(10,8,2002),true, CAL_JEWISH_ADD_GERESHAYIM+CAL_JEWISH_ADD_ALAFIM)."\r\n". 17 …,2002),true, CAL_JEWISH_ADD_GERESHAYIM+CAL_JEWISH_ADD_ALAFIM+CAL_JEWISH_ADD_ALAFIM_GERESH)."\r\n");
|
/PHP-5.3/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 …]
|