Home
last modified time | relevance | path

Searched refs:res (Results 1 – 25 of 595) sorted by relevance

12345678910>>...24

/PHP-7.3/ext/standard/tests/math/
H A Dbase_convert_basic.phpt26 echo ".........value= ", $values[$i], " res = ", $res, "\n";
35 .........value= 27 res = 0
36 .........value= 39 res = 0
37 .........value= 3 res = 0
38 .........value= 95 res = 0
40 .........value= 27 res = 0
41 .........value= 39 res = 0
42 .........value= 5F res = 0
45 .........value= 10 res = 2
48 .........value= 3 res = 0
[all …]
H A Dmt_rand_basic.phpt9 $res = mt_rand();
12 if (!is_int($res) || $res < 0 || $res > $default_max) {
18 echo "FAILED: res = ", $res, " min = 0 max = ", $default_max, "\n";
41 $res = mt_rand($min[$x], $max[$x]);
43 if (!is_int($res) || $res < intval($min[$x]) || $res > intval($max[$x])) {
44 echo "FAILED: res = ", $res, " min = ", intval($min[$x]), " max = ", intval($max[$x]), "\n";
69 $res = mt_rand($min[$x], 100);
71 if (!is_int($res) || $res < intval($minval[$x]) || $res > 100) {
72 echo "FAILED: res = ", $res, " min = ", intval($min[$x]), " max = ", intval($max[$x]), "\n";
H A Drand_basic.phpt9 $res = rand();
12 if (!is_int($res) || $res < 0 || $res > $default_max) {
18 echo "FAILED: res = ", $res, " min = 0 max = ", $default_max, "\n";
41 $res = rand($min[$x], $max[$x]);
43 if (!is_int($res) || $res < intval($min[$x]) || $res > intval($max[$x])) {
44 echo "FAILED: res = ", $res, " min = ", intval($min[$x]), " max = ", intval($max[$x]), "\n";
69 $res = rand($min[$x], 100);
71 if (!is_int($res) || $res < intval($minval[$x]) || $res > 100) {
72 echo "FAILED: res = ", $res, " min = ", intval($min[$x]), " max = ", intval($max[$x]), "\n";
/PHP-7.3/ext/gd/tests/
H A Dbug24594.phpt30 $res = imagecolorat($base,0,10)==$black?'1':'0';
31 $res .= imagecolorat($base,0,20)==$black?'1':'0';
32 $res .= imagecolorat($base,0,30)==$black?'1':'0';
33 $res .= imagecolorat($base,0,40)==$black?'1':'0';
34 $res .= imagecolorat($base,0,50)==$black?'1':'0';
35 $res .= imagecolorat($base,0,60)==$black?'1':'0';
37 $res .= imagecolorat($base,11,12)==$white?'1':'0';
38 $res .= imagecolorat($base,12,13)==$white?'1':'0';
50 echo "$res\n";
57 $res = imagecolorat($base,0,10)==$black?'1':'0';
[all …]
/PHP-7.3/ext/date/tests/
H A Dbug41964.phpt10 var_dump($res['zone'], $res['tz_abbr']);
13 $res = date_parse('A ');
14 var_dump($res['zone'], $res['tz_abbr']);
17 $res = date_parse('A');
18 var_dump($res['zone'], $res['tz_abbr']);
21 $res = date_parse('a ');
22 var_dump($res['zone'], $res['tz_abbr']);
25 $res = date_parse('a');
26 var_dump($res['zone'], $res['tz_abbr']);
30 var_dump($res['zone'], $res['tz_abbr']);
[all …]
/PHP-7.3/Zend/
H A Dzend_list.c68 res->type = -1; in zend_resource_dtor()
69 res->ptr = NULL; in zend_resource_dtor()
103 if (res) { in zend_fetch_resource2()
105 return res->ptr; in zend_fetch_resource2()
109 return res->ptr; in zend_fetch_resource2()
125 return res->ptr; in zend_fetch_resource()
140 if (res == NULL) { in zend_fetch_resource_ex()
161 if (res == NULL) { in zend_fetch_resource2_ex()
184 if (res->type >= 0) { in list_entry_destructor()
194 if (res->type >= 0) { in plist_entry_destructor()
[all …]
H A Dzend_list.h28 typedef void (*rsrc_dtor_func_t)(zend_resource *res);
29 #define ZEND_RSRC_DTOR_FUNC(name) void name(zend_resource *res)
56 ZEND_API int ZEND_FASTCALL zend_list_free(zend_resource *res);
57 ZEND_API int ZEND_FASTCALL zend_list_delete(zend_resource *res);
58 ZEND_API int ZEND_FASTCALL zend_list_close(zend_resource *res);
61 ZEND_API void *zend_fetch_resource(zend_resource *res, const char *resource_type_name, int resource…
62 ZEND_API void *zend_fetch_resource2(zend_resource *res, const char *resource_type_name, int resourc…
63 ZEND_API void *zend_fetch_resource_ex(zval *res, const char *resource_type_name, int resource_type);
64 ZEND_API void *zend_fetch_resource2_ex(zval *res, const char *resource_type_name, int resource_type…
66 ZEND_API const char *zend_rsrc_list_get_rsrc_type(zend_resource *res);
H A Dzend_multiply.h165 : "%0"(res), in zend_safe_address()
170 : "%0"(res), in zend_safe_address()
180 return res; in zend_safe_address()
200 : "%0"(res), in zend_safe_address()
207 : "%0"(res), in zend_safe_address()
217 return res; in zend_safe_address()
224 size_t res; in zend_safe_address() local
239 return res; in zend_safe_address()
246 size_t res; in zend_safe_address() local
260 return res; in zend_safe_address()
[all …]
/PHP-7.3/ext/standard/tests/time/
H A Dstrptime_parts.phpt27 var_dump($res["tm_sec"]);
28 var_dump($res["tm_min"]);
29 var_dump($res["tm_hour"]);
30 var_dump($res["tm_mday"]);
31 var_dump($res["tm_mon"]);
32 var_dump($res["tm_year"]);
36 var_dump($res["tm_sec"]);
37 var_dump($res["tm_min"]);
40 var_dump($res["tm_mon"]);
45 var_dump($res["tm_sec"]);
[all …]
/PHP-7.3/ext/mysqli/tests/
H A Dmysqli_fetch_assoc_no_alias.phpt17 var_dump(mysqli_fetch_assoc($res));
18 mysqli_free_result($res);
24 var_dump(mysqli_fetch_assoc($res));
25 mysqli_free_result($res);
31 var_dump(mysqli_fetch_assoc($res));
32 mysqli_free_result($res);
39 mysqli_free_result($res);
50 mysqli_free_result($res);
60 mysqli_free_result($res);
70 mysqli_free_result($res);
[all …]
H A Dmysqli_stmt_get_result2.phpt45 gettype($res), $res, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
50 mysqli_free_result($res);
54 gettype($res), $res, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
60 gettype($res), $res, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
65 mysqli_free_result($res);
83 gettype($res), $res, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
95 gettype($res), $res, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
114 gettype($res), $res, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
124 mysqli_free_result($res);
135 gettype($res), $res, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
[all …]
H A Dmysqli_store_result_copy.phpt31 gettype($res), $res, mysqli_errno($link), mysqli_error($link));
37 var_dump($res->fetch_assoc());
47 mysqli_free_result($res);
61 gettype($res), $res, mysqli_errno($link), mysqli_error($link));
67 $row = $res->fetch_assoc();
95 gettype($res), $res, mysqli_errno($link), mysqli_error($link));
122 gettype($res), $res, mysqli_errno($link), mysqli_error($link));
133 gettype($res), $res, mysqli_errno($link), mysqli_error($link));
146 gettype($res), $res, mysqli_errno($link), mysqli_error($link));
148 /* user conn killed, res associated with conn, fetch from res */
[all …]
H A Dmysqli_stmt_get_result_seek.phpt25 if (!is_object($res = mysqli_stmt_get_result($stmt)) || 'mysqli_result' != get_class($res)) {
27 gettype($res), $res, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
30 if (3 !== $res->num_rows)
31 printf("[005] Expecting 3 rows, got %s/%s rows\n", gettype($res->num_rows), $res->num_rows);
33 if (2 !== $res->field_count)
34 …printf("[006] Expecting 2 fields, got %s/%s rows\n", gettype($res->field_count), $res->field_count…
36 if (0 !== $res->current_field)
37 …printf("[006] Expecting offset 0, got %s/%s rows\n", gettype($res->current_field), $res->current_f…
40 if (!$res->data_seek($i))
67 if (false !== ($tmp = $res->data_seek($res->num_rows + 1)))
[all …]
H A Dmysqli_field_tell.phpt27 var_dump(mysqli_field_tell($res));
29 var_dump(mysqli_field_tell($res));
30 var_dump(mysqli_fetch_field($res));
31 var_dump(mysqli_fetch_field($res));
32 var_dump(mysqli_field_tell($res));
38 var_dump(mysqli_field_seek($res, 2));
39 var_dump(mysqli_field_tell($res));
42 var_dump(mysqli_field_tell($res));
45 var_dump(mysqli_field_tell($res));
49 mysqli_free_result($res);
[all …]
H A Dmysqli_data_seek_oo.phpt22 $res = new mysqli_result($mysqli);
23 if (false !== ($tmp = @$res->data_seek(0)))
29 if (NULL !== ($tmp = @$res->data_seek()))
38 if (true !== ($tmp = $res->data_seek(3)))
41 $row = $res->fetch_assoc();
45 if (true !== ($tmp = $res->data_seek(0)))
48 $row = $res->fetch_assoc();
52 if (false !== ($tmp = $res->data_seek(4)))
58 $res->free_result();
63 if (false !== ($tmp = $res->data_seek(3)))
[all …]
/PHP-7.3/ext/standard/
H A Dphp_dns.h25 #define php_dns_search(res, dname, class, type, answer, anslen) \ argument
27 #define php_dns_free_handle(res) \ argument
28 dns_free(res)
32 res_nsearch(res, dname, class, type, answer, anslen);
34 #define php_dns_free_handle(res) \ argument
35 res_ndestroy(res); \
36 php_dns_free_res(res)
38 #define php_dns_free_handle(res) \ argument
39 res_nclose(res); \
40 php_dns_free_res(res)
[all …]
/PHP-7.3/ext/filter/tests/
H A D038.phpt9 $res = filter_var($var, FILTER_VALIDATE_INT, array('flags'=>FILTER_FLAG_ALLOW_OCTAL));
10 var_dump($res);
13 $res = filter_var($var, FILTER_VALIDATE_INT, array('flags'=>FILTER_FLAG_ALLOW_OCTAL));
14 var_dump($res);
17 $res = filter_var($var, FILTER_VALIDATE_INT, array('flags'=>FILTER_FLAG_ALLOW_OCTAL|FILTER_FORCE_AR…
18 var_dump($res);
23 $res = filter_var($var, FILTER_VALIDATE_INT, array('flags'=>FILTER_FLAG_ALLOW_OCTAL|FILTER_REQUIRE_…
24 var_dump($res);
28 var_dump($res);
32 var_dump($res);
[all …]
/PHP-7.3/ext/pdo_pgsql/tests/
H A Dbug_33876.phpt25 if (!$res->execute())
26 print_r($res->errorInfo());
32 if (!$res->execute())
33 print_r($res->errorInfo());
41 print_r($res->errorInfo());
48 print_r($res->errorInfo());
61 if (!$res->execute())
62 print_r($res->errorInfo());
68 if (!$res->execute())
69 print_r($res->errorInfo());
[all …]
/PHP-7.3/ext/interbase/tests/
H A D005.phpt78 out_result($res,"test5");
80 ibase_free_result($res);
86 out_result($res,"test5");
88 ibase_free_result($res);
94 out_result($res,"test5");
96 ibase_free_result($res);
112 ibase_free_result($res);
130 ibase_free_result($res);
137 ibase_free_result($res);
151 ibase_free_result($res);
[all …]
/PHP-7.3/ext/sqlite3/tests/
H A Dbug79294.phpt14 $res = $stmt->execute();
15 var_dump($res->fetchArray() !== false);
16 var_dump($res->columnType(0));
17 var_dump($res->fetchArray() !== false);
18 var_dump($res->columnType(0));
20 var_dump($res->fetchArray() !== false);
21 var_dump($res->columnType(0));
22 $res->reset();
23 var_dump($res->fetchArray() !== false);
24 var_dump($res->columnType(0));
/PHP-7.3/ext/pdo/tests/
H A Dbug_44861.phpt40 $res = $db->prepare($query, $aParams);
41 $res->execute();
42 var_dump($res->fetchColumn());
43 var_dump($res->fetchColumn());
44 var_dump($res->fetchColumn());
45 var_dump($res->fetchColumn());
46 var_dump($res->fetchColumn());
58 $res->execute(array("it's working"));
63 $res->execute(array("try again"));
64 var_dump($res->fetchColumn());
[all …]
/PHP-7.3/ext/com_dotnet/
H A Dcom_persist.c42 zend_resource *res; member
97 if (stm->res) in stm_release()
329 HRESULT res; in CPH_METHOD() local
364 HRESULT res; in CPH_METHOD() local
427 HRESULT res; in CPH_METHOD() local
474 HRESULT res; in CPH_METHOD() local
493 if (res != S_OK) { in CPH_METHOD()
506 HRESULT res; in CPH_METHOD() local
533 HRESULT res; in CPH_METHOD() local
554 res = S_OK; in CPH_METHOD()
[all …]
/PHP-7.3/ext/gd/libgd/
H A Dgd_io_ss.c82 int res; in sourceGetbuf() local
93 if (res == 0) { in sourceGetbuf()
95 } else if (res < 0) { in sourceGetbuf()
98 return res; in sourceGetbuf()
104 int res; in sourceGetchar() local
107 res = sourceGetbuf (ctx, &buf, 1); in sourceGetchar()
109 if (res == 1) { in sourceGetchar()
119 int res; in sinkPutbuf() local
123 res = (lctx->snk->sink) (lctx->snk->context, buf, size); in sinkPutbuf()
125 if (res <= 0) { in sinkPutbuf()
[all …]
/PHP-7.3/win32/
H A Dsendmail.c359 int res; in SendText() local
399 return (res); in SendText()
405 return (res); in SendText()
570 return (res); in SendText()
577 return (res); in SendText()
590 return (res); in SendText()
620 return(res); in SendText()
628 return (res); in SendText()
631 return (res); in SendText()
660 int res; in PostHeader() local
[all …]
/PHP-7.3/ext/intl/tests/
H A Dcollation_customization.phpt15 $res = '';
20 $res .= "$i";
25 $res .= " $eq $i";
30 $res .= "\n";
32 return $res;
37 $res = '';
42 $res .= cmp_array( $coll, array( 'di Silva', 'Di Silva', 'diSilva', 'U.S.A.', 'USA' ) );
46 $res .= cmp_array( $coll, array( 'di Silva', 'diSilva', 'Di Silva', 'U.S.A.', 'USA' ) );
50 $res .= cmp_array( $coll, array( 'di Silva', 'diSilva', 'Di Silva', 'U.S.A.', 'USA' ) );
51 $res .= "\n";
[all …]

Completed in 57 milliseconds

12345678910>>...24