Home
last modified time | relevance | path

Searched refs:gettype (Results 1 – 25 of 268) sorted by relevance

1234567891011

/PHP-7.3/ext/standard/tests/general_functions/
H A Dgettype_settype_error.phpt2 Test gettype() & settype() functions : error conditions
5 /* Prototype: string gettype ( mixed $var );
12 /* Test different error conditions of settype() and gettype() functions */
14 echo "**** Testing gettype() and settype() functions ****\n";
16 echo "\n*** Testing gettype(): error conditions ***\n";
18 var_dump( gettype() );
20 var_dump( gettype( "1", "2" ) );
36 **** Testing gettype() and settype() functions ****
38 *** Testing gettype(): error conditions ***
40 Warning: gettype() expects exactly 1 parameter, 0 given in %s on line %d
[all …]
/PHP-7.3/ext/mysqli/tests/
H A Dmysqli_class_mysqli_properties_no_conn.phpt32 @$mysqli->affected_rows, gettype(@$mysqli->affected_rows),
37 @$mysqli->client_info, gettype(@$mysqli->client_info),
47 @$mysqli->errno, gettype(@$mysqli->errno),
53 @$mysqli->error, gettype(@$mysqli->error),
58 @$mysqli->field_count, gettype(@$mysqli->field_count),
63 @$mysqli->insert_id, gettype(@$mysqli->insert_id),
68 @$mysqli->sqlstate, gettype(@$mysqli->sqlstate),
73 @$mysqli->host_info, gettype(@$mysqli->host_info),
79 @$mysqli->info, gettype(@$mysqli->info),
83 assert(gettype(@$mysqli->thread_id) == gettype(@mysqli_thread_id($mysqli)));
[all …]
H A Dmysqli_class_mysqli_interface.phpt177 $mysqli->errno, gettype($mysqli->errno),
182 $mysqli->error, gettype($mysqli->error),
195 $mysqli->insert_id, gettype($mysqli->insert_id),
200 $mysqli->sqlstate, gettype($mysqli->sqlstate),
205 $mysqli->stat, gettype($mysqli->stat),
206 mysqli_stat($link), gettype(mysqli_stat($link)));
210 $mysqli->host_info, gettype($mysqli->host_info),
216 $mysqli->info, gettype($mysqli->info),
217 mysqli_info($link), gettype(mysqli_info($link)));
220 assert(gettype($mysqli->thread_id) == gettype(mysqli_thread_id($link)));
[all …]
H A Dmysqli_stmt_get_result_metadata.phpt61 printf("[009] %s/%s !== %s/%s\n", gettype($tmp1), $tmp1, gettype($tmp2), $tmp2);
66 printf("[010] %s/%s !== %s/%s\n", gettype($tmp1), $tmp1, gettype($tmp2), $tmp2);
69 printf("[011] %s/%s !== %s/%s\n", gettype($tmp1), $tmp1, gettype($tmp2), $tmp2);
73 printf("[012] %s/%s !== %s/%s\n", gettype($tmp1), $tmp1, gettype($tmp2), $tmp2);
98 …$k, gettype($info->name), $info->name, gettype($fields['meta'][$k]->name), $fields['meta'][$k]->na…
106 …$k, gettype($info->table), $info->table, gettype($fields['meta'][$k]->table), $fields['meta'][$k]-…
114 … $k, gettype($info->def), $info->def, gettype($fields['meta'][$k]->def), $fields['meta'][$k]->def);
130 …$k, gettype($info->flags), $info->flags, gettype($fields['meta'][$k]->flags), $fields['meta'][$k]-…
134 …$k, gettype($info->type), $info->type, gettype($fields['meta'][$k]->type), $fields['meta'][$k]->ty…
179 gettype($pos), $pos, gettype($tmp), $tmp);
[all …]
H A Dmysqli_stmt_get_result_seek.phpt27 gettype($res), $res, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
65 printf("[011] Expecting boolean/false got %s/%s\n", gettype($tmp), $tmp);
68 printf("[012] Expecting boolean/false got %s/%s\n", gettype($tmp), $tmp);
71 printf("[013] Expecting NULL got %s/%s\n", gettype($tmp), $tmp);
83 $pos + 1, $pos, gettype($row[0]), $row[0]);
93 printf("[015] Expecting boolan/true got %s/%s\n", gettype($tmp), $tmp);
96 printf("[016] Expecting array got %s/%s\n", gettype($tmp), $tmp);
101 printf("[017] Expecting false got %s/%s\n", gettype($tmp), $tmp);
104 printf("[018] Expecting false got %s/%s\n", gettype($tmp), $tmp);
109 printf("[019] Expecting false got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dmysqli_affected_rows.phpt17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
23 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
31 gettype($tmp), $tmp, mysqli_errno($link), mysqli_error($link));
43 printf("[010] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp);
48 printf("[011] Expecting int/-1, got %s/%s\n", gettype($tmp), $tmp);
54 printf("[013] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp);
60 printf("[015] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp);
67 printf("[017] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp);
73 printf("[019] Expecting int/4, got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dmysqli_stmt_store_result.phpt17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
25 printf("[003] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
32 printf("[005] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
39 printf("[007] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
69 $id, gettype($id), $id_buf, gettype($id_buf));
72 $label, gettype($label), $label_buf, gettype($label_buf));
79 printf("[017] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
H A Dmysqli_character_set_name.phpt18 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
21 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
24 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
52 $tmp['collation'], $tmp['charset'], gettype($charset), $charset);
54 …[011] Expecting character set %s/%s, got %s/%s\n", gettype($tmp['charset']), $tmp['charset'], gett…
60 …i_character_set_name returned %s/%s, expected %s/%s\n", gettype($charset2), $charset2, gettype($c…
66 printf("[013] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
70 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
H A Dmysqli_data_seek_oo.phpt24 printf("[002] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
30 printf("[004] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp);
33 printf("[005] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp);
36 printf("[006] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp);
39 printf("[007] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
46 printf("[009] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
53 printf("[011] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
56 printf("[012] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
64 printf("[014] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
69 printf("[015] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
H A Dmysqli_stmt_errno.phpt17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
29 printf("[004] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp);
36 printf("[006] Expecting int/any non zero, got %s/%s\n", gettype($tmp), $tmp);
43 printf("[008] Expecting zero, got %s/%s\n", gettype($tmp), $tmp);
48 printf("[009] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
52 printf("[010] Execting int/any non zero, got %s/%s\n", gettype($tmp), $tmp);
57 printf("[011] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
H A Dmysqli_stmt_error.phpt17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
29 printf("[004] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp);
36 printf("[006] Expecting string/any non empty, got %s/%s\n", gettype($tmp), $tmp);
43 printf("[008] Expecting empty string, got %s/%s\n", gettype($tmp), $tmp);
48 printf("[009] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
52 printf("[010] Execting string/any non empty, got %s/%s\n", gettype($tmp), $tmp);
57 printf("[011] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
H A Dmysqli_stmt_affected_rows.phpt17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
39 printf("[005] Expecting int/0, got %s/'%s'\n", gettype($tmp), $tmp);
56 printf("[008] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp);
68 printf("[010] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp);
78 printf("[012] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp);
88 printf("[014] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp);
98 printf("[016] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp);
124 printf("[021] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp);
134 printf("[023] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dmysqli_data_seek.phpt17 printf("[001] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp);
20 printf("[002] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp);
23 printf("[003] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp);
30 printf("[005] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
37 printf("[007] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
44 printf("[009] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
47 printf("[010] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
55 printf("[012] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
60 printf("[013] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
H A Dmysqli_stmt_free_result.phpt22 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
25 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
34 printf("[004] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
40 printf("[006] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
46 printf("[008] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
49 printf("[009] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
63 printf("[013] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
66 printf("[014] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
71 printf("[015] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
H A Dmysqli_stmt_field_count.phpt17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
26 printf("[003] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
32 printf("[005] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
37 printf("[007] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp);
42 printf("[009] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp);
47 printf("[011] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp);
53 printf("[013] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp);
65 printf("[017] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp);
72 printf("[019] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dmysqli_stmt_result_metadata.phpt17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
28 printf("[004] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
34 printf("[006] Expecting object, got %s/%s\n", gettype($tmp), $tmp);
38 gettype($tmp), $tmp, mysqli_errno($link), mysqli_error($link));
42 gettype($field0_fetch), $field0_fetch, mysqli_errno($link), mysqli_error($link));
46 gettype($field0_direct), $field0_direct, mysqli_errno($link), mysqli_error($link));
58 gettype($tmp), $tmp, mysqli_errno($link), mysqli_error($link));
80 gettype($tmp), $tmp, mysqli_errno($link), mysqli_error($link));
86 printf("[017] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dmysqli_stmt_attr_get.phpt17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
23 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
28 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
44 printf("[005] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
49 gettype($tmp), $tmp, $k, $attr);
58 gettype($tmp), $tmp, $k, $attr);
H A Dmysqli_affected_rows_oo.phpt15 printf("[000a] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
23 printf("[002] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp);
35 printf("[006] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp);
40 printf("[007] Expecting int/-1, got %s/%s\n", gettype($tmp), $tmp);
46 printf("[009] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp);
52 printf("[011] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp);
59 printf("[013] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp);
65 printf("[015] Expecting int/4, got %s/%s\n", gettype($tmp), $tmp);
71 printf("[016] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp);
77 printf("[018] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dmysqli_ssl_set.phpt19 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
22 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
25 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
28 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
31 printf("[005] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
34 printf("[006] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
47 printf("[007] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
56 printf("[008] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
H A Dmysqli_stat.phpt17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
25 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
29 gettype($tmp), $tmp, mysqli_errno($link), mysql_error($link));
34 printf("[005] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
H A Dmysqli_stmt_get_result.phpt25 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
28 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
37 printf("[004] Expecting false, got %s/%s\n", gettype($tmp), var_export($tmp, 1));
53 printf("[009] non-object, got %s/%s\n", gettype($tmp), var_export($tmp, 1));
62 printf("[011] Expecting false, got %s/%s\n", gettype($tmp), var_export($tmp, 1));
75 printf("[016] NULL, got %s/%s\n", gettype($tmp), var_export($tmp, 1));
85 printf("[018] Expecting false, got %s/%s\n", gettype($tmp), var_export($tmp, 1));
100 printf("[025] false, got %s/%s\n", gettype($tmp), var_export($tmp, 1));
109 printf("[029] false, got %s/%s\n", gettype($tmp), var_export($tmp, 1));
129 gettype($tmp), var_export($tmp, 1),
[all …]
/PHP-7.3/ext/standard/tests/strings/
H A Dmoney_format_basic1.phpt29 echo gettype(money_format('%14#8.2n', $value))."\n";
30 echo gettype(money_format('%14#8.2n', $negative_value))."\n";
34 echo gettype(money_format('%(14#8.2n', $value))."\n";
35 echo gettype(money_format('%(14#8.2n', $negative_value))."\n";
39 echo gettype(money_format('%=014#8.2n', $value))."\n";
40 echo gettype(money_format('%=014#8.2n', $negative_value))."\n";
44 echo gettype(money_format('%=*14#8.2n', $value))."\n";
45 echo gettype(money_format('%=*14#8.2n', $negative_value))."\n";
49 echo gettype(money_format('%=*^14#8.2n', $value))."\n";
50 echo gettype(money_format('%=*^14#8.2n', $negative_value))."\n";
[all …]
/PHP-7.3/ext/soap/interop/
H A Dtest.utility.php68 $e1_type = gettype($e1);
69 $e2_type = gettype($e2);
80 if (gettype($ar1) != 'array' || gettype($ar2) != 'array') return FALSE;
90 if (gettype($obj1) != 'object' || gettype($obj2) != 'object') return FALSE;
99 $x_type = gettype($x);
100 $y_type = gettype($y);
129 if (gettype($v) == 'array' && count($v)==1) {
/PHP-7.3/Zend/tests/
H A D017.phpt13 var_dump(gettype(get_loaded_extensions()));
15 var_dump(gettype(get_loaded_extensions(true)));
22 var_dump(gettype(get_defined_constants(true)));
23 var_dump(gettype(get_defined_constants()));
29 var_dump(gettype(get_defined_functions()));
33 var_dump(gettype(get_declared_interfaces()));
38 var_dump(gettype(get_extension_funcs("standard")));
40 var_dump(gettype(get_extension_funcs("zend")));
/PHP-7.3/ext/dba/tests/
H A Dbug65708.phpt19 echo gettype($key)."\n";
20 echo gettype($copy)."\n";
24 echo gettype($key)."\n";
25 echo gettype($copy)."\n";

Completed in 33 milliseconds

1234567891011