/PHP-7.0/ext/mysqlnd/ |
H A D | mysqlnd_libmysql_compat.h | 50 #define mysql_errno(r) mysqlnd_errno((r)) argument 51 #define mysql_error(r) mysqlnd_error((r)) argument 57 #define mysql_fetch_row(r) mysqlnd_fetch_row_c((r)) argument 60 #define mysql_field_tell(r) mysqlnd_field_tell((r)) argument 62 #define mysql_insert_id(r) mysqlnd_insert_id((r)) argument 63 #define mysql_kill(r,n) mysqlnd_kill((r), (n)) argument 71 #define mysql_num_rows(r) mysqlnd_num_rows((r)) argument 72 #define mysql_ping(r) mysqlnd_ping((r)) argument 80 #define mysql_sqlstate(r) mysqlnd_sqlstate((r)) argument 107 #define mysql_info(r) mysqlnd_info((r)) argument [all …]
|
/PHP-7.0/sapi/apache2handler/ |
H A D | sapi_apache2.c | 79 r = ctx->r; in ZEND_TSRMLS_CACHE_DEFINE() 188 r = ctx->r; in php_apache_sapi_read_post() 305 r = ctx->r; in php_apache_sapi_flush() 312 if (ap_rflush(r) < 0 || r->connection->aborted) { in php_apache_sapi_flush() 332 if (r) { in php_apache_sapi_log_message_ex() 571 ctx->r = r; in php_handler() 575 ctx->r = r; in php_handler() 590 && r->path_info && r->path_info[0]) { in php_handler() 615 r->subprocess_env != r->main->subprocess_env in php_handler() 655 ctx->r = r; in php_handler() [all …]
|
/PHP-7.0/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-7.0/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-7.0/ext/gmp/tests/ |
H A D | gmp_sqrtrem.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 | gmp_divexact.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 …]
|
/PHP-7.0/ext/sockets/tests/ |
H A D | socket_getopt.phpt | 19 var_dump($r); 21 var_dump($r); 26 var_dump($r); 28 var_dump($r); 30 var_dump($r); 32 var_dump($r); 38 var_dump($r); 40 var_dump($r); 43 var_dump($r); 45 var_dump($r); [all …]
|
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-7.0/ext/ftp/tests/ |
H A D | server.inc | 51 fputs($fs, "\r\n"); 100 fputs($s, "220----- PHP FTP server 0.3 -----\r\n220 Service ready\r\n"); 130 fputs($s, "200 OK\r\n"); 138 fputs($s, "200 OK\r\n"); 190 fputs($s, " USER\r\n"); 191 fputs($s, " HELP\r\n"); 213 fputs($s, "200 OK\r\n"); 221 fputs($s, "200 OK\r\n"); 229 fputs($s, "200 OK.\r\n"); 248 …) || isset($bug39583)) && $data === strtr($orig, array("\r\n" => "\n", "\r" => "\n", "\n" => "\r\n… [all …]
|
/PHP-7.0/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-7.0/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-7.0/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-7.0/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-7.0/ext/oci8/tests/ |
H A D | error_set.phpt | 18 $r = oci_set_action($c, $s); 19 var_dump($r); 24 var_dump($r); 28 $r = oci_set_module_name($c, $s); 29 var_dump($r); 34 var_dump($r); 41 $r = oci_set_action($c, $s); 42 var_dump($r); 45 var_dump($r); 48 var_dump($r); [all …]
|
H A D | bind_char_1.phpt | 41 if ($r) 46 if ($r) 51 if ($r) 56 if ($r) 61 if ($r) 66 if ($r) 76 if ($r) 81 if ($r) 86 if ($r) 91 if ($r) [all …]
|
/PHP-7.0/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-7.0/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-7.0/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-7.0/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-7.0/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 …]
|