Home
last modified time | relevance | path

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

12345678910

/PHP-8.0/Zend/tests/
H A D017.phpt11 var_dump(gettype(get_loaded_extensions()));
13 var_dump(gettype(get_loaded_extensions(true)));
18 var_dump(gettype(get_defined_constants(true)));
19 var_dump(gettype(get_defined_constants()));
25 var_dump(gettype(get_defined_functions()));
28 var_dump(gettype(get_declared_interfaces()));
32 var_dump(gettype(get_extension_funcs("standard")));
34 var_dump(gettype(get_extension_funcs("zend")));
H A Dbug62653.phpt6 $foo = "10.0000"; // gettype($foo) = "string"
7 $foo /= 2; //Makes $foo = 5 but still gettype($foo) = "double"
18 $foo /= 2; //Makes $foo = 5 but still gettype($foo) = "double"
/PHP-8.0/ext/mysqli/tests/
H A Dmysqli_class_mysqli_interface.phpt175 $mysqli->errno, gettype($mysqli->errno),
176 mysqli_errno($link), gettype(mysqli_errno($link)));
180 $mysqli->error, gettype($mysqli->error),
181 mysqli_error($link), gettype(mysqli_error($link)));
193 $mysqli->insert_id, gettype($mysqli->insert_id),
198 $mysqli->sqlstate, gettype($mysqli->sqlstate),
203 $mysqli->host_info, gettype($mysqli->host_info),
209 $mysqli->info, gettype($mysqli->info),
210 mysqli_info($link), gettype(mysqli_info($link)));
213 assert(gettype($mysqli->thread_id) == gettype(mysqli_thread_id($link)));
[all …]
H A Dmysqli_stmt_get_result_metadata.phpt60 printf("[009] %s/%s !== %s/%s\n", gettype($tmp1), $tmp1, gettype($tmp2), $tmp2);
65 printf("[010] %s/%s !== %s/%s\n", gettype($tmp1), $tmp1, gettype($tmp2), $tmp2);
68 printf("[011] %s/%s !== %s/%s\n", gettype($tmp1), $tmp1, gettype($tmp2), $tmp2);
72 printf("[012] %s/%s !== %s/%s\n", gettype($tmp1), $tmp1, gettype($tmp2), $tmp2);
97 …$k, gettype($info->name), $info->name, gettype($fields['meta'][$k]->name), $fields['meta'][$k]->na…
105 …$k, gettype($info->table), $info->table, gettype($fields['meta'][$k]->table), $fields['meta'][$k]-…
113 … $k, gettype($info->def), $info->def, gettype($fields['meta'][$k]->def), $fields['meta'][$k]->def);
129 …$k, gettype($info->flags), $info->flags, gettype($fields['meta'][$k]->flags), $fields['meta'][$k]-…
133 …$k, gettype($info->type), $info->type, gettype($fields['meta'][$k]->type), $fields['meta'][$k]->ty…
178 gettype($pos), $pos, gettype($tmp), $tmp);
[all …]
H A Dmysqli_affected_rows.phpt18 gettype($tmp), $tmp, mysqli_errno($link), mysqli_error($link));
30 printf("[010] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp);
35 printf("[011] Expecting int/-1, got %s/%s\n", gettype($tmp), $tmp);
41 printf("[013] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp);
47 printf("[015] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp);
54 printf("[017] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp);
60 printf("[019] Expecting int/4, got %s/%s\n", gettype($tmp), $tmp);
66 printf("[021] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp);
72 printf("[023] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp);
78 printf("[025] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dmysqli_explain_metadata.phpt29 $field_names[$name] = gettype($value);
37 $num_rows, gettype($tmp), $tmp);
41 $num_fields, gettype($tmp), $tmp);
46 $num_fields, gettype($tmp), $tmp);
76 $num_rows, gettype($tmp), $tmp);
80 $num_fields, gettype($tmp), $tmp);
84 $num_fields, gettype($tmp), $tmp);
88 $num_fields, gettype($tmp), $tmp);
93 $num_fields, gettype($tmp), $tmp);
110 $num_rows, gettype($tmp), $tmp);
[all …]
H A Dmysqli_stmt_affected_rows.phpt29 printf("[005] Expecting int/0, got %s/'%s'\n", gettype($tmp), $tmp);
46 printf("[008] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp);
58 printf("[010] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp);
68 printf("[012] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp);
78 printf("[014] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp);
88 printf("[016] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp);
114 printf("[021] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp);
124 printf("[023] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp);
134 printf("[025] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp);
141 printf("[027] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dbug35517.phpt21 if ((gettype($id) !== 'int') && (gettype($id) != 'integer'))
22 … printf("[001] Expecting integer on 64bit got %s/%s\n", gettype($id), var_export($id, true));
24 if (gettype($id) !== 'string') {
25 … printf("[002] Expecting string on 32bit got %s/%s\n", gettype($id), var_export($id, true));
H A Dmysqli_get_warnings.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("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
62 printf("[013] Expecting int/not 0, got %s/%s\n", gettype($warning->errno), $warning->errno);
65 printf("[014] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
78 printf("[018] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
81 printf("[020] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
96 printf("[024] Expecting object/mysqli_warning, got %s/%s", gettype($warning), $warning);
110 printf("[028] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
113 printf("[029] Expecting string/empty, got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dmysqli_connect.phpt17 $anon_allow = (gettype($tmp) == "object");
22 if (($anon_allow && gettype($tmp) != "object") || (!$anon_allow && $tmp != false)) {
23 printf("[002] Expecting %s, got %s/%s\n", $exptype, gettype($tmp), $tmp);
27 if (($anon_allow && gettype($tmp) != "object") || (!$anon_allow && $tmp != false)) {
28 printf("[003] Expecting %s, got %s/%s\n", $exptype, gettype($tmp), $tmp);
32 if (($anon_allow && gettype($tmp) != "object") || (!$anon_allow && $tmp != false)) {
33 printf("[004] Expecting %s, got %s/%s\n", $exptype, gettype($tmp), $tmp);
38 printf("[005] Expecting %s, got %s/%s\n", $exptype, gettype($tmp), $tmp);
43 printf("[006] Expecting %s, got %s/%s\n", $exptype, gettype($tmp), $tmp);
48 printf("[007] Expecting %s, got %s/%s\n", $exptype, gettype($tmp), $tmp);
[all …]
H A Dmysqli_affected_rows_oo.phpt25 printf("[002] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp);
37 printf("[006] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp);
42 printf("[007] Expecting int/-1, got %s/%s\n", gettype($tmp), $tmp);
48 printf("[009] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp);
54 printf("[011] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp);
61 printf("[013] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp);
67 printf("[015] Expecting int/4, got %s/%s\n", gettype($tmp), $tmp);
73 printf("[016] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp);
79 printf("[018] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp);
85 printf("[020] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A D071.phpt20 … printf("[001] Expecting boolean/true got %s/%s\n", gettype($ret), var_export($ret, true));
27 …printf("[001] Expecting boolean/true got %s/%s @\n", gettype($ret), var_export($ret, true), $versi…
31 …printf("[001] Expecting boolean/false got %s/%s @\n", gettype($ret), var_export($ret, true), $vers…
47 … printf("[002] Expecting boolean/true got %s/%s\n", gettype($ret), var_export($ret, true));
54 …printf("[002] Expecting boolean/true got %s/%s @\n", gettype($ret), var_export($ret, true), $versi…
58 …printf("[002] Expecting boolean/false got %s/%s @\n", gettype($ret), var_export($ret, true), $vers…
H A Dmysqli_stmt_bind_param_references.phpt30 $offset, gettype($id), $id,
31 gettype($row['id']), $row['id']
38 $offset, gettype($label), $label,
39 gettype($row['label']), $row['label']
64 printf("[002] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
75 printf("[005] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
86 printf("[007] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
97 printf("[010] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
105 printf("[013] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
115 printf("[015] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dmysqli_stmt_get_result_seek.phpt26 gettype($res), $res, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
30 printf("[005] Expecting 3 rows, got %s/%s rows\n", gettype($res->num_rows), $res->num_rows);
33 …printf("[006] Expecting 2 fields, got %s/%s rows\n", gettype($res->field_count), $res->field_count…
36 …printf("[006] Expecting offset 0, got %s/%s rows\n", gettype($res->current_field), $res->current_f…
70 printf("[012] Expecting boolean/false got %s/%s\n", gettype($tmp), $tmp);
79 printf("[015] Expecting boolan/true got %s/%s\n", gettype($tmp), $tmp);
83 $pos + 1, $pos, gettype($row[0]), $row[0]);
86 printf("[014] Expecting boolan/false got %s/%s\n", gettype($tmp), $tmp);
94 printf("[015] Expecting boolan/true got %s/%s\n", gettype($tmp), $tmp);
97 printf("[016] Expecting array got %s/%s\n", gettype($tmp), $tmp);
H A Dmysqli_stmt_errno.phpt19 printf("[004] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp);
26 printf("[006] Expecting int/any non zero, got %s/%s\n", gettype($tmp), $tmp);
33 printf("[008] Expecting zero, got %s/%s\n", gettype($tmp), $tmp);
38 printf("[009] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
42 printf("[010] Expecting int/any non zero, got %s/%s\n", gettype($tmp), $tmp);
H A Dmysqli_stmt_error.phpt19 printf("[004] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp);
26 printf("[006] Expecting string/any non empty, got %s/%s\n", gettype($tmp), $tmp);
33 printf("[008] Expecting empty string, got %s/%s\n", gettype($tmp), $tmp);
38 printf("[009] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
42 printf("[010] Expecting string/any non empty, got %s/%s\n", gettype($tmp), $tmp);
H A Dmysqli_get_charset.phpt58 printf("[015] Expecting object/std_class, got %s/%s\n", gettype($charset), $charset);
61 !in_array(gettype($charset->charset), array("string", "unicode")) ||
63 …printf("[016] Expecting string/%s, got %s/%s\n", $character_set_connection, gettype($charset->char…
65 !in_array(gettype($charset->collation), array("string", "unicode")) ||
67 …printf("[017] Expecting string/%s, got %s/%s\n", $collation_connection, gettype($charset->collatio…
71 …printf("[019] Expecting string - ideally %s*, got %s/%s\n", $character_sets_dir, gettype($charset-…
78 gettype($charset->min_length), $charset->min_length);
83 … printf("[021] Expecting int/%d, got %s/%s\n", $id, gettype($charset->number), $charset->number);
87 printf("[022] Expecting int/any, got %s/%s\n", gettype($charset->state), $charset->state);
H A Dmysqli_stmt_field_count.phpt34 printf("[007] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp);
39 printf("[009] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp);
44 printf("[011] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp);
50 printf("[013] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp);
61 printf("[015] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp);
66 printf("[017] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp);
73 printf("[019] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp);
H A Dmysqli_stmt_result_metadata.phpt27 printf("[006] Expecting object, got %s/%s\n", gettype($tmp), $tmp);
31 gettype($tmp), $tmp, mysqli_errno($link), mysqli_error($link));
35 gettype($field0_fetch), $field0_fetch, mysqli_errno($link), mysqli_error($link));
39 gettype($field0_direct), $field0_direct, mysqli_errno($link), mysqli_error($link));
51 gettype($tmp), $tmp, mysqli_errno($link), mysqli_error($link));
63 gettype($field1_direct), $field1_direct, mysqli_errno($link), mysqli_error($link));
73 gettype($tmp), $tmp, mysqli_errno($link), mysqli_error($link));
/PHP-8.0/ext/standard/tests/general_functions/
H A Dgettype_settype_error.phpt2 Test gettype() & settype() functions : error conditions
5 /* Test different error conditions of settype() and gettype() functions */
7 echo "**** Testing gettype() and settype() functions ****\n";
21 **** Testing gettype() and settype() functions ****
H A Dgetrusage.phpt8 var_dump(gettype(getrusage()));
9 var_dump(gettype(getrusage(1)));
10 var_dump(gettype(getrusage(-1)));
/PHP-8.0/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";
/PHP-8.0/ext/pdo_mysql/tests/
H A Dpdo_mysql_stmt_bindcolumn.phpt36 var_export($id, true), gettype($id),
37 var_export($label, true), gettype($label));
46 var_export($data[$index]['id'], true), gettype($data[$index]['id']),
47 var_export($row['id'], true), gettype($row['id']));
51 var_export($data[$index]['label'], true), gettype($data[$index]['label']),
52 var_export($row['label'], true), gettype($row['label']));
76 var_export($id, true), gettype($id),
77 var_export($label, true), gettype($label));
86 var_export($data[$index]['id'], true), gettype($data[$index]['id']),
87 var_export($row['id'], true), gettype($row['id']));
[all …]
/PHP-8.0/ext/snmp/tests/
H A Dsnmp2_walk.phpt21 var_dump(gettype($return));
23 var_dump(gettype($return[0]));
24 var_dump(gettype($return[1]));
28 var_dump(gettype($return));
29 var_dump(gettype($return[0]));
33 var_dump(gettype($return));
34 var_dump(gettype($return[0]));
H A Dsnmpwalk.phpt21 var_dump(gettype($return));
23 var_dump(gettype($return[0]));
24 var_dump(gettype($return[1]));
28 var_dump(gettype($return));
29 var_dump(gettype($return[0]));
33 var_dump(gettype($return));
34 var_dump(gettype($return[0]));

Completed in 37 milliseconds

12345678910