/php-src/ext/mysqlnd/ |
H A D | mysqlnd_libmysql_compat.h | 47 #define mysql_errno(r) mysqlnd_errno((r)) argument 48 #define mysql_error(r) mysqlnd_error((r)) argument 54 #define mysql_fetch_row(r) mysqlnd_fetch_row_c((r)) argument 57 #define mysql_field_tell(r) mysqlnd_field_tell((r)) argument 59 #define mysql_insert_id(r) mysqlnd_insert_id((r)) argument 60 #define mysql_kill(r,n) mysqlnd_kill((r), (n)) argument 67 #define mysql_num_rows(r) mysqlnd_num_rows((r)) argument 68 #define mysql_ping(r) mysqlnd_ping((r)) argument 76 #define mysql_sqlstate(r) mysqlnd_sqlstate((r)) argument 102 #define mysql_info(r) mysqlnd_info((r)) argument [all …]
|
/php-src/ext/gmp/tests/ |
H A D | gmp_sqrtrem.phpt | 9 $r = gmp_sqrtrem(-1); 10 var_dump($r); 15 $r = gmp_sqrtrem("0"); 16 var_dump(gmp_strval($r[0])); 19 $r = gmp_sqrtrem(2); 23 $r = gmp_sqrtrem(10); 27 $r = gmp_sqrtrem(7); 31 $r = gmp_sqrtrem(3); 35 $r = gmp_sqrtrem(100000); 50 var_dump($r); [all …]
|
H A D | gmp_divexact.phpt | 15 var_dump(gmp_strval($r)); 19 var_dump(gmp_strval($r)); 24 $r = gmp_divexact("100", "10"); 25 var_dump(gmp_strval($r)); 28 var_dump(gmp_strval($r)); 31 $r = gmp_divexact($n, "2"); 32 var_dump(gmp_strval($r)); 34 $r = gmp_divexact($n, "50"); 35 var_dump(gmp_strval($r)); 38 $r = gmp_divexact($n1, $n); [all …]
|
/php-src/sapi/apache2handler/ |
H A D | sapi_apache2.c | 77 r = ctx->r; in ZEND_TSRMLS_CACHE_DEFINE() 187 r = ctx->r; in php_apache_sapi_read_post() 301 r = ctx->r; in php_apache_sapi_flush() 308 if (ap_rflush(r) < 0 || r->connection->aborted) { in php_apache_sapi_flush() 364 if (r) { in php_apache_sapi_log_message_ex() 613 ctx->r = r; in php_handler() 617 ctx->r = r; in php_handler() 632 && r->path_info && r->path_info[0]) { in php_handler() 657 r->subprocess_env != r->main->subprocess_env in php_handler() 697 ctx->r = r; in php_handler() [all …]
|
/php-src/ext/standard/tests/general_functions/ |
H A D | phpinfo.phpt | 19 Build Date => %r(.+?)%r 24 Loaded Configuration File => %r(.+?)%r 34 Thread Safety => %r(.+?)%r 46 %r(.+?)%r 51 %r(.*?)%r 53 %r(.*?)%r 55 %r(.*?)%r 57 %r(.*?)%r 59 %r(.*?)%r 61 %r(.*?)%r [all …]
|
/php-src/ext/standard/tests/strings/ |
H A D | nl2br.phpt | 7 var_dump(nl2br("\r\n")); 9 var_dump(nl2br("\r")); 10 var_dump(nl2br("\n\r")); 12 var_dump(nl2br("\n\r\r\n\r\r\r\r")); 13 var_dump(nl2br("\n\r\n\n\r\n\r\r\n\r\n")); 14 var_dump(nl2br("\n\r\n\n\n\n\r\r\r\r\n\r"));
|
H A D | chunk_split_variation11.phpt | 16 sPeci@! ch@r$ :) & numbers 222.This is \k wrong escape char. 27 "\r\n", //White space char 29 ")speci@! ch@r$(", //String with special chars 45 sPeci@! ch@r$ :) & numbers 222.This is \k wrong escape char." 49 s Peci@! ch@r$ :) & number s 222. This i s \k w rong e scape char. " 53 saPeci@!a ch@r$a :) & anumberas 222.aThis ias \k warong eascape achar.a" 71 ch@r$ 84 s123Peci@!123 ch@r$123 :) & 123number123s 222.123This i123s \k w123rong e123scape 123char.123" 86 string(398) "This i)speci@! ch@r$(s here)speci@! ch@r$(doc st)speci@! ch@r$(ring w)speci@! ch@r$(it… 87 .)speci@! ch@r$(It als)speci@! ch@r$(o cont)speci@! ch@r$(ains [all …]
|
H A D | nl2br_variation3.phpt | 10 //heredoc string containing new line chars(\n, \r and combinations of \r & \n) and new lines 13 \r 14 \r\n 16 \rrr\r\r\rr 17 \n\r\n\r\r\n\nr\rn 22 Hello\nWorld\r 24 like \n \r\n \r \n\r and etc 50 r<br /> 57 r<br />
|
/php-src/ext/gd/libgd/ |
H A D | gd_io.c | 27 if (r == EOF) { \ 78 int r; in gdGetByte() local 81 *result = r; in gdGetByte() 87 int r; in gdGetWord() local 93 *result += r; in gdGetWord() 120 unsigned int r; in gdGetInt() local 130 if (r == EOF) { in gdGetInt() 137 *result += r; in gdGetInt() 152 r >>= 8; in gdGetIntLSB() 159 r >>= 8; in gdGetIntLSB() [all …]
|
/php-src/ext/sockets/tests/ |
H A D | socket_getopt.phpt | 15 var_dump($r); 16 $r = socket_getopt($s, $level, IP_MULTICAST_TTL); 17 var_dump($r); 22 var_dump($r); 24 var_dump($r); 26 var_dump($r); 28 var_dump($r); 34 var_dump($r); 36 var_dump($r); 39 var_dump($r); [all …]
|
H A D | mcast_ipv4_send.phpt | 21 var_dump($r); 22 $r = socket_get_option($s, $level, IP_MULTICAST_TTL); 23 var_dump($r); 28 var_dump($r); 30 var_dump($r); 32 var_dump($r); 34 var_dump($r); 40 var_dump($r); 42 var_dump($r); 45 var_dump($r); [all …]
|
H A D | mcast_ipv6_send.phpt | 28 var_dump($r); 30 var_dump($r); 35 var_dump($r); 37 var_dump($r); 39 var_dump($r); 41 var_dump($r); 47 var_dump($r); 48 $r = socket_get_option($s, $level, IPV6_MULTICAST_IF); 49 var_dump($r); 52 var_dump($r); [all …]
|
H A D | mcast_ipv4_send_error.phpt | 27 var_dump($r); 28 $r = socket_get_option($s, $level, IP_MULTICAST_LOOP); 29 var_dump($r); 35 var_dump($r); 37 var_dump($r); 44 var_dump($r); 49 var_dump($r); 54 var_dump($r); 56 var_dump($r); 63 var_dump($r); [all …]
|
/php-src/Zend/tests/ |
H A D | bug79934.phpt | 9 eval("\$s1 = <<<HEREDOC\r\n a\r\n\r\n b\r\n HEREDOC;"); 10 var_dump(addcslashes($s1, "\r\n")); 17 eval("\$s3 = <<<HEREDOC\r a\r\r b\r HEREDOC;"); 18 var_dump(addcslashes($s3, "\r")); 21 eval("\$s4 = <<<HEREDOC\r a\r\n \r\n b\r HEREDOC;"); 22 var_dump(addcslashes($s4, "\n\r")); 26 string(10) "a\r\n\r\nb" 28 string(6) "a\r\rb" 29 string(10) "a\r\n\r\nb"
|
H A D | assign_obj_to_ref_inference.phpt | 11 $r =& $o; 13 $r = new stdClass; 14 $r->x = 3.141; 19 $r =& $o; 21 $r = new stdClass; 22 $r->x = 3.141; 28 $GLOBALS['r'] = new stdClass; 29 $GLOBALS['r']->x = 3.141; 35 $r = new Test; 36 test3($r);
|
/php-src/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-src/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-src/ext/ftp/tests/ |
H A D | server.inc | 60 fputs($s, "220----- PHP FTP server 0.3 -----\r\n220 Service ready\r\n"); 90 fputs($s, "200 OK\r\n"); 98 fputs($s, "200 OK\r\n"); 103 if ($buf == "AUTH TLS\r\n") { 148 fputs($s, " USER\r\n"); 149 fputs($s, " HELP\r\n"); 168 fputs($s, "\r\n" . str_repeat("*", 4096) . "\r\n"); 175 fputs($s, "200 OK\r\n"); 211 …) || isset($bug39583)) && $data === strtr($orig, array("\r\n" => "\n", "\r" => "\n", "\n" => "\r\n… 293 fputs($fs, "file1\r\nfile1\r\nfile\nb0rk\r\n"); [all …]
|
/php-src/ext/standard/tests/http/ |
H A D | bug80256.phpt | 12 "data://text/plain,HTTP/1.1 302 Moved Temporarily\r\n" 13 . "Location: /try-again\r\n" 14 . "Transfer-Encoding: chunked\r\n\r\n" 15 . "0\r\n\r\n", 16 "data://text/plain,HTTP/1.1 200 Ok\r\n" 17 . "Transfer-Encoding: chunked\r\n\r\n" 18 . "4\r\n1234\r\n0\r\n\r\n",
|
/php-src/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-src/Zend/tests/closures/ |
H A D | closure_068.phpt | 9 $r = new \ReflectionFunction(foo(...)); 11 var_dump($r->getShortName()); 12 var_dump($r->getNamespaceName()); 13 var_dump($r->inNamespace()); 14 var_dump($r->getNamespaceName() . ($r->inNamespace() ? '\\' : '') . $r->getShortName() === $r->getN… 16 var_dump($r->getShortName() === $r2->getShortName()); 17 var_dump($r->getNamespaceName() === $r2->getNamespaceName()); 18 var_dump($r->inNamespace() === $r2->inNamespace());
|
H A D | closure_065.phpt | 10 $r = new \ReflectionFunction($c); 11 var_dump($r->name); 19 var_dump($r->name); 31 $r = new \ReflectionFunction($c); 32 var_dump($r->name); 41 var_dump($r->name); 49 var_dump($r->name); 61 $r = new \ReflectionFunction($c); 62 var_dump($r->name); 76 $r = new \ReflectionFunction($c); [all …]
|
/php-src/ext/reflection/tests/ |
H A D | 002.phpt | 20 var_dump($r->class); 21 var_dump($r->name); 22 var_dump($r->foo); 23 @var_dump($r->bar); 35 $r->name = 'bullshit'; 42 $r->foo = 'bar'; 43 $r->bar = 'baz'; 45 var_dump($r->class); 46 var_dump($r->name); 47 var_dump($r->foo); [all …]
|
/php-src/ext/phar/tests/ |
H A D | test_signaturealgos.phpt | 16 $r = $a->getSignature(); 17 var_dump($r['hash_type']); 19 $r = $a->getSignature(); 20 var_dump($r['hash_type']); 22 $r = $a->getSignature(); 23 var_dump($r['hash_type']); 25 $r = $a->getSignature(); 26 var_dump($r['hash_type']); 28 $r = $a->getSignature(); 31 $r = $a->getSignature(); [all …]
|
/php-src/ext/random/ |
H A D | php_random_uint128.h | 43 php_random_uint128_t r; in php_random_uint128_constant() local 45 r.hi = hi; in php_random_uint128_constant() 46 r.lo = lo; in php_random_uint128_constant() 48 return r; in php_random_uint128_constant() 53 php_random_uint128_t r; in php_random_uint128_add() local 56 r.hi = (num1.hi + num2.hi + (r.lo < num1.lo)); in php_random_uint128_add() 58 return r; in php_random_uint128_add() 63 php_random_uint128_t r; in php_random_uint128_multiply() local 75 return r; in php_random_uint128_multiply() 101 php_random_uint128_t r; in php_random_uint128_constant() local [all …]
|