/PHP-5.5/ext/mysqlnd/ |
H A D | mysqlnd_libmysql_compat.h | 51 #define mysql_errno(r) mysqlnd_errno((r)) argument 52 #define mysql_error(r) mysqlnd_error((r)) argument 58 #define mysql_fetch_row(r) mysqlnd_fetch_row_c((r)) argument 61 #define mysql_field_tell(r) mysqlnd_field_tell((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 81 #define mysql_sqlstate(r) mysqlnd_sqlstate((r)) argument 108 #define mysql_info(r) mysqlnd_info((r)) argument [all …]
|
/PHP-5.5/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() 331 if (r) { in php_apache_sapi_log_message_ex() 560 ctx->r = r; in php_handler() 564 ctx->r = r; in php_handler() 579 && r->path_info && r->path_info[0]) { in php_handler() 604 r->subprocess_env != r->main->subprocess_env in php_handler() 644 ctx->r = r; in php_handler() [all …]
|
/PHP-5.5/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"));
|
/PHP-5.5/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.5/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.5/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.5/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() 370 if (f->r->proxyreq) { in php_input_filter() 415 f->r->content_type = apr_pstrdup(f->r->pool, content_type); in php_apache_request_ctor() 436 ctx->r->user = apr_pstrdup(ctx->r->pool, SG(request_info).auth_user); in php_apache_request_ctor() 507 f->r->subprocess_env != f->r->main->subprocess_env in php_output_filter() 558 if (!f->r->main) { in php_output_filter() 658 ap_add_output_filter("PHP", NULL, r, r->connection); in php_add_filter() 660 ap_add_input_filter("PHP", NULL, r, r->connection); in php_add_filter() 670 php_add_filter(r, r->output_filters); in php_insert_filter() 671 php_add_filter(r, r->input_filters); in php_insert_filter() [all …]
|
/PHP-5.5/ext/sockets/tests/ |
H A D | mcast_ipv4_send.phpt | 20 var_dump($r); 21 $r = socket_get_option($s, $level, IP_MULTICAST_TTL); 22 var_dump($r); 27 var_dump($r); 29 var_dump($r); 31 var_dump($r); 33 var_dump($r); 39 var_dump($r); 41 var_dump($r); 44 var_dump($r); [all …]
|
H A D | mcast_ipv6_send.phpt | 24 var_dump($r); 26 var_dump($r); 31 var_dump($r); 33 var_dump($r); 35 var_dump($r); 37 var_dump($r); 43 var_dump($r); 44 $r = socket_get_option($s, $level, IPV6_MULTICAST_IF); 45 var_dump($r); 48 var_dump($r); [all …]
|
H A D | mcast_ipv4_send_error.phpt | 20 var_dump($r); 21 $r = socket_get_option($s, $level, IP_MULTICAST_LOOP); 22 var_dump($r); 28 var_dump($r); 30 var_dump($r); 36 var_dump($r); 38 var_dump($r); 43 var_dump($r); 45 var_dump($r); 51 var_dump($r); [all …]
|
/PHP-5.5/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.5/ext/mbstring/oniguruma/ |
H A D | regcomp.c | 276 if (r) return r; in add_opcode_rel_addr() 301 if (r) return r; in add_opcode_option() 374 if (r) return r; in compile_tree_empty_check() 397 if (r) return r; in compile_call() 400 if (r) return r; in compile_call() 835 if (r) return r; in compile_quantifier_node() 869 if (r) return r; in compile_quantifier_node() 874 if (r) return r; in compile_quantifier_node() 876 if (r) return r; in compile_quantifier_node() 892 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.5/Zend/tests/traits/ |
H A D | bug55214.phpt | 40 var_dump($r); 42 var_dump($r); 45 $r = $o->get_class_name_obj(); 46 var_dump($r); 47 $r = $o->get_class_name_obj2(); 48 var_dump($r); 51 var_dump($r); 53 var_dump($r); 56 $r = $o->get_class_name_obj(); 57 var_dump($r); [all …]
|
/PHP-5.5/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.5/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.5/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() 550 r->connection->user = pstrdup(r->connection->pool, tmp_user); in init_request_info() 632 r->content_type = php_apache_get_default_mimetype(r TSRMLS_CC); in send_php() 654 if ((retval = set_last_modified(r, r->finfo.st_mtime))) { in send_php() 661 update_mtime (r, r->finfo.st_mtime); in send_php() 663 set_etag(r); in send_php() 668 r->content_type = php_apache_get_default_mimetype(r TSRMLS_CC); in send_php() [all …]
|
/PHP-5.5/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.5/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 …8,2002),true, CAL_JEWISH_ADD_GERESHAYIM+CAL_JEWISH_ADD_ALAFIM+CAL_JEWISH_ADD_ALAFIM_GERESH)."\r\n". [all …]
|
/PHP-5.5/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 …]
|