/PHP-7.4/ext/mysqli/tests/ |
H A D | mysqli_store_result.phpt | 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 29 gettype($res), $res, mysqli_errno($link), mysqli_error($link)); 33 gettype($tmp), $tmp, mysqli_errno($link), mysqli_error($link)); 42 gettype($res), $res, mysqli_errno($link), mysqli_error($link)); 49 gettype($tmp), $tmp); 54 printf("[010] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_get_proto_info.phpt | 14 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 17 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 21 printf("[003] Expecting int/any_non_empty, got %s/%s\n", gettype($info), $info); 24 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_get_server_info.phpt | 14 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 17 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 21 printf("[003] Expecting string/any_non_empty, got %s/%s\n", gettype($info), $info); 24 printf("[005] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_stmt_data_seek.phpt | 17 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 boolean/true, got %s/%s\n", gettype($tmp), $tmp); 45 printf("[009] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 53 printf("[011] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 61 printf("[013] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 69 printf("[015] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 79 printf("[017] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_close.phpt | 17 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 NULL/NULL, got %s/%s\n", gettype($tmp), $tmp); 32 printf("[005] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 35 printf("[006] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
|
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_use_result.phpt | 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 29 gettype($res), $res, mysqli_errno($link), mysqli_error($link)); 33 gettype($tmp), $tmp, mysqli_errno($link), mysqli_error($link)); 42 gettype($res), $res, mysqli_errno($link), mysqli_error($link)); 49 gettype($tmp), $tmp); 54 printf("[010] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_stmt_param_count.phpt | 17 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); 39 gettype($expected), $expected, 40 gettype($tmp), $tmp); 52 printf("[40] Expecting false, got %s/%s\n", gettype($tmp), $tmp); 59 printf("[041] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_character_set_name_oo.phpt | 22 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 46 $tmp['collation'], $tmp['charset'], gettype($charset), $charset); 48 …[011] Expecting character set %s/%s, got %s/%s\n", gettype($tmp['charset']), $tmp['charset'], gett… 55 gettype($charset2), $charset2, gettype($charset), $charset); 61 printf("[013] Expecting false, got %s/%s\n", gettype($tmp), $tmp); 65 printf("[014] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_connect.phpt | 18 $anon_allow = (gettype($tmp) == "object"); 24 printf("[001] Expecting NULL got %s/%s\n", gettype($tmp), $tmp); 27 if (($anon_allow && gettype($tmp) != "object") || (!$anon_allow && $tmp != false)) { 28 printf("[002] Expecting %s, got %s/%s\n", $exptype, gettype($tmp), $tmp); 32 if (($anon_allow && gettype($tmp) != "object") || (!$anon_allow && $tmp != false)) { 33 printf("[003] Expecting %s, got %s/%s\n", $exptype, gettype($tmp), $tmp); 38 printf("[004] Expecting %s, got %s/%s\n", $exptype, gettype($tmp), $tmp); 43 printf("[005] Expecting %s, got %s/%s\n", $exptype, gettype($tmp), $tmp); 48 printf("[006] Expecting %s, got %s/%s\n", $exptype, gettype($tmp), $tmp); 53 printf("[007] Expecting %s, got %s/%s\n", $exptype, gettype($tmp), $tmp); [all …]
|
H A D | mysqli_stmt_execute.phpt | 23 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 26 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 35 printf("[004] Expecting false, got %s/%s\n", gettype($tmp), $tmp); 42 printf("[006] Expecting false, got %s/%s\n", gettype($tmp), $tmp); 49 gettype($tmp), $tmp, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 56 printf("[010] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 80 gettype($tmp), $tmp, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 87 printf("[018] Expecting int/1 got %s/%s\n", gettype($id), $id); 102 printf("[022] Expecting int/1 got %s/%s\n", gettype($id), $id); 125 printf("[027] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_stmt_fetch.phpt | 22 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); 41 printf("[006] Expecting NULL or boolean/false, got %s/%s\n", gettype($tmp), $tmp); 47 printf("[008] NULL, got %s/%s\n", gettype($tmp), $tmp); 62 printf("[012] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 66 gettype($tmp), $tmp, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 72 printf("[015] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 77 printf("[016] Expecting false, got %s/%s\n", gettype($tmp), $tmp); 84 printf("[017] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_stmt_get_result.phpt | 25 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)); 147 gettype($tmp), var_export($tmp, 1), [all …]
|
H A D | bug35517.phpt | 21 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 D | mysqli_stmt_prepare.phpt | 23 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 26 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 34 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 37 printf("[005] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 40 printf("[006] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 45 printf("[007] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_stmt_sqlstate.phpt | 17 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); 31 printf("[005] Expecting false, got %s/%s\n", gettype($tmp), $tmp); 38 gettype($tmp), $tmp, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 49 printf("[010] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_get_connection_stats.phpt | 19 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 22 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 27 printf("[003] Expecting array/any_non_empty, got %s/%s\n", gettype($info), $info); 30 printf("[004] Expecting array/any_non_empty, got %s/%s\n", gettype($info2), $info2); 50 printf("[006] Expecting array/any_non_empty, got %s/%s\n", gettype($info), $info); 68 printf("[008] Expecting array/any_non_empty, got %s/%s\n", gettype($info), $info); 71 printf("[009] Expecting array/any_non_empty, got %s/%s\n", gettype($info2), $info2);
|
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 | 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_num_fields.phpt | 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 33 gettype($expected), $expected, 34 gettype($tmp), $tmp); 39 printf("[%03d] Expecting false, got %s/%s\n", $offset + 2, gettype($tmp), $tmp);
|
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 | mysqli_info.phpt | 16 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 19 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 27 printf("[004] Expecting null, got %s/%s\n", gettype($tmp), $tmp); 33 printf("[006] Expecting string/any_non_empty, got %s/%s\n", gettype($tmp), $tmp); 39 printf("[008] Expecting string/any_non_empty, got %s/%s\n", gettype($tmp), $tmp); 45 printf("[010] Expecting string/any_non_empty, got %s/%s\n", gettype($tmp), $tmp); 51 printf("[012] Expecting string/any_non_empty, got %s/%s\n", gettype($tmp), $tmp); 57 printf("[014] Expecting null, got %s/%s\n", gettype($tmp), $tmp); 87 printf("[016] Expecting string/any_non_empty, got %s/%s\n", gettype($tmp), $tmp);
|
/PHP-7.4/ext/standard/tests/general_functions/ |
H A D | getrusage.phpt | 8 var_dump(gettype(getrusage())); 9 var_dump(gettype(getrusage(1))); 10 var_dump(gettype(getrusage(-1)));
|
/PHP-7.4/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_stmt_bindcolumn.phpt | 36 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-7.4/Zend/tests/ |
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"
|