/PHP-8.1/Zend/tests/ |
H A D | 017.phpt | 11 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 D | bug62653.phpt | 6 $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.1/ext/mysqli/tests/ |
H A D | mysqli_class_mysqli_interface.phpt | 176 $mysqli->errno, gettype($mysqli->errno), 177 mysqli_errno($link), gettype(mysqli_errno($link))); 181 $mysqli->error, gettype($mysqli->error), 182 mysqli_error($link), gettype(mysqli_error($link))); 194 $mysqli->insert_id, gettype($mysqli->insert_id), 199 $mysqli->sqlstate, gettype($mysqli->sqlstate), 204 $mysqli->host_info, gettype($mysqli->host_info), 210 $mysqli->info, gettype($mysqli->info), 211 mysqli_info($link), gettype(mysqli_info($link))); 214 assert(gettype($mysqli->thread_id) == gettype(mysqli_thread_id($link))); [all …]
|
H A D | mysqli_stmt_get_result_metadata.phpt | 61 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 D | mysqli_stmt_affected_rows.phpt | 30 printf("[005] Expecting int/0, got %s/'%s'\n", gettype($tmp), $tmp); 47 printf("[008] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 59 printf("[010] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp); 69 printf("[012] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 79 printf("[014] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 89 printf("[016] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 115 printf("[021] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 125 printf("[023] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 135 printf("[025] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 142 printf("[027] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_affected_rows.phpt | 19 gettype($tmp), $tmp, mysqli_errno($link), mysqli_error($link)); 31 printf("[010] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 36 printf("[011] Expecting int/-1, got %s/%s\n", gettype($tmp), $tmp); 42 printf("[013] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 48 printf("[015] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 55 printf("[017] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 61 printf("[019] Expecting int/4, got %s/%s\n", gettype($tmp), $tmp); 67 printf("[021] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 73 printf("[023] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 79 printf("[025] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_explain_metadata.phpt | 30 $field_names[$name] = gettype($value); 38 $num_rows, gettype($tmp), $tmp); 42 $num_fields, gettype($tmp), $tmp); 47 $num_fields, gettype($tmp), $tmp); 77 $num_rows, gettype($tmp), $tmp); 81 $num_fields, gettype($tmp), $tmp); 85 $num_fields, gettype($tmp), $tmp); 89 $num_fields, gettype($tmp), $tmp); 94 $num_fields, gettype($tmp), $tmp); 111 $num_rows, gettype($tmp), $tmp); [all …]
|
H A D | mysqli_get_warnings.phpt | 20 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 23 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 26 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 63 printf("[013] Expecting int/not 0, got %s/%s\n", gettype($warning->errno), $warning->errno); 66 printf("[014] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 79 printf("[018] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 82 printf("[020] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 97 printf("[024] Expecting object/mysqli_warning, got %s/%s", gettype($warning), $warning); 111 printf("[028] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 114 printf("[029] Expecting string/empty, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | bug35517.phpt | 22 if ((gettype($id) !== 'int') && (gettype($id) != 'integer')) 23 … printf("[001] Expecting integer on 64bit got %s/%s\n", gettype($id), var_export($id, true)); 25 if (gettype($id) !== 'string') { 26 … printf("[002] Expecting string on 32bit got %s/%s\n", gettype($id), var_export($id, true));
|
H A D | mysqli_connect.phpt | 18 $anon_allow = (gettype($tmp) == "object"); 23 if (($anon_allow && gettype($tmp) != "object") || (!$anon_allow && $tmp != false)) { 24 printf("[002] Expecting %s, got %s/%s\n", $exptype, gettype($tmp), $tmp); 28 if (($anon_allow && gettype($tmp) != "object") || (!$anon_allow && $tmp != false)) { 29 printf("[003] Expecting %s, got %s/%s\n", $exptype, gettype($tmp), $tmp); 33 if (($anon_allow && gettype($tmp) != "object") || (!$anon_allow && $tmp != false)) { 34 printf("[004] Expecting %s, got %s/%s\n", $exptype, gettype($tmp), $tmp); 39 printf("[005] Expecting %s, got %s/%s\n", $exptype, gettype($tmp), $tmp); 44 printf("[006] Expecting %s, got %s/%s\n", $exptype, gettype($tmp), $tmp); 49 printf("[007] Expecting %s, got %s/%s\n", $exptype, gettype($tmp), $tmp); [all …]
|
H A D | mysqli_affected_rows_oo.phpt | 26 printf("[002] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp); 38 printf("[006] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 43 printf("[007] Expecting int/-1, got %s/%s\n", gettype($tmp), $tmp); 49 printf("[009] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 55 printf("[011] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 62 printf("[013] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 68 printf("[015] Expecting int/4, got %s/%s\n", gettype($tmp), $tmp); 74 printf("[016] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 80 printf("[018] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 86 printf("[020] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_stmt_bind_param_references.phpt | 31 $offset, gettype($id), $id, 32 gettype($row['id']), $row['id'] 39 $offset, gettype($label), $label, 40 gettype($row['label']), $row['label'] 65 printf("[002] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 76 printf("[005] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 87 printf("[007] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 98 printf("[010] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 106 printf("[013] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 116 printf("[015] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | 071.phpt | 21 … printf("[001] Expecting boolean/true got %s/%s\n", gettype($ret), var_export($ret, true)); 28 …printf("[001] Expecting boolean/true got %s/%s @\n", gettype($ret), var_export($ret, true), $versi… 32 …printf("[001] Expecting boolean/false got %s/%s @\n", gettype($ret), var_export($ret, true), $vers… 48 … printf("[002] Expecting boolean/true got %s/%s\n", gettype($ret), var_export($ret, true)); 55 …printf("[002] Expecting boolean/true got %s/%s @\n", gettype($ret), var_export($ret, true), $versi… 59 …printf("[002] Expecting boolean/false got %s/%s @\n", gettype($ret), var_export($ret, true), $vers…
|
H A D | mysqli_stmt_get_result_seek.phpt | 27 gettype($res), $res, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 31 printf("[005] Expecting 3 rows, got %s/%s rows\n", gettype($res->num_rows), $res->num_rows); 34 …printf("[006] Expecting 2 fields, got %s/%s rows\n", gettype($res->field_count), $res->field_count… 37 …printf("[006] Expecting offset 0, got %s/%s rows\n", gettype($res->current_field), $res->current_f… 71 printf("[012] Expecting boolean/false got %s/%s\n", gettype($tmp), $tmp); 80 printf("[015] Expecting boolan/true got %s/%s\n", gettype($tmp), $tmp); 84 $pos + 1, $pos, gettype($row[0]), $row[0]); 87 printf("[014] Expecting boolan/false got %s/%s\n", gettype($tmp), $tmp); 95 printf("[015] Expecting boolan/true got %s/%s\n", gettype($tmp), $tmp); 98 printf("[016] Expecting array got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_stmt_errno.phpt | 20 printf("[004] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp); 27 printf("[006] Expecting int/any non zero, got %s/%s\n", gettype($tmp), $tmp); 34 printf("[008] Expecting zero, got %s/%s\n", gettype($tmp), $tmp); 39 printf("[009] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 43 printf("[010] Expecting int/any non zero, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_stmt_error.phpt | 20 printf("[004] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp); 27 printf("[006] Expecting string/any non empty, got %s/%s\n", gettype($tmp), $tmp); 34 printf("[008] Expecting empty string, got %s/%s\n", gettype($tmp), $tmp); 39 printf("[009] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 43 printf("[010] Expecting string/any non empty, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_get_charset.phpt | 59 printf("[015] Expecting object/std_class, got %s/%s\n", gettype($charset), $charset); 62 !in_array(gettype($charset->charset), array("string", "unicode")) || 64 …printf("[016] Expecting string/%s, got %s/%s\n", $character_set_connection, gettype($charset->char… 66 !in_array(gettype($charset->collation), array("string", "unicode")) || 68 …printf("[017] Expecting string/%s, got %s/%s\n", $collation_connection, gettype($charset->collatio… 72 …printf("[019] Expecting string - ideally %s*, got %s/%s\n", $character_sets_dir, gettype($charset-… 79 gettype($charset->min_length), $charset->min_length); 84 … printf("[021] Expecting int/%d, got %s/%s\n", $id, gettype($charset->number), $charset->number); 88 printf("[022] Expecting int/any, got %s/%s\n", gettype($charset->state), $charset->state);
|
H A D | mysqli_stmt_field_count.phpt | 35 printf("[007] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 40 printf("[009] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 45 printf("[011] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 51 printf("[013] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 62 printf("[015] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 67 printf("[017] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp); 74 printf("[019] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_stmt_result_metadata.phpt | 28 printf("[006] Expecting object, got %s/%s\n", gettype($tmp), $tmp); 32 gettype($tmp), $tmp, mysqli_errno($link), mysqli_error($link)); 36 gettype($field0_fetch), $field0_fetch, mysqli_errno($link), mysqli_error($link)); 40 gettype($field0_direct), $field0_direct, mysqli_errno($link), mysqli_error($link)); 52 gettype($tmp), $tmp, mysqli_errno($link), mysqli_error($link)); 64 gettype($field1_direct), $field1_direct, mysqli_errno($link), mysqli_error($link)); 74 gettype($tmp), $tmp, mysqli_errno($link), mysqli_error($link));
|
/PHP-8.1/ext/standard/tests/general_functions/ |
H A D | gettype_settype_error.phpt | 2 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 D | getrusage.phpt | 8 var_dump(gettype(getrusage())); 9 var_dump(gettype(getrusage(1))); 10 var_dump(gettype(getrusage(-1)));
|
/PHP-8.1/ext/dba/tests/ |
H A D | bug65708.phpt | 21 echo gettype($key)."\n"; 22 echo gettype($copy)."\n"; 26 echo gettype($key)."\n"; 27 echo gettype($copy)."\n";
|
/PHP-8.1/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_stmt_bindcolumn.phpt | 37 var_export($id, true), gettype($id), 38 var_export($label, true), gettype($label)); 47 var_export($data[$index]['id'], true), gettype($data[$index]['id']), 48 var_export($row['id'], true), gettype($row['id'])); 52 var_export($data[$index]['label'], true), gettype($data[$index]['label']), 53 var_export($row['label'], true), gettype($row['label'])); 77 var_export($id, true), gettype($id), 78 var_export($label, true), gettype($label)); 87 var_export($data[$index]['id'], true), gettype($data[$index]['id']), 88 var_export($row['id'], true), gettype($row['id'])); [all …]
|
/PHP-8.1/ext/snmp/tests/ |
H A D | snmpwalk.phpt | 23 var_dump(gettype($return)); 25 var_dump(gettype($return[0])); 26 var_dump(gettype($return[1])); 30 var_dump(gettype($return)); 31 var_dump(gettype($return[0])); 35 var_dump(gettype($return)); 36 var_dump(gettype($return[0]));
|
H A D | snmp2_walk.phpt | 23 var_dump(gettype($return)); 25 var_dump(gettype($return[0])); 26 var_dump(gettype($return[1])); 30 var_dump(gettype($return)); 31 var_dump(gettype($return[0])); 35 var_dump(gettype($return)); 36 var_dump(gettype($return[0]));
|