Lines Matching refs:charset

18 …if (!$res = mysqli_query($link, 'SELECT @@character_set_connection AS charset, @@collation_connect…
22 …if (!($character_set_connection = $tmp['charset']) || !($collation_connection = $tmp['collation']))
44 if (!is_object($charset = mysqli_get_charset($link)))
45 printf("[015] Expecting object/std_class, got %s/%s\n", gettype($charset), $charset);
47 if (!isset($charset->charset) ||
48 !is_string($charset->charset) ||
49 $character_set_connection !== $charset->charset)
50 …string/%s, got %s/%s\n", $character_set_connection, gettype($charset->charset), $charset->charset);
51 if (!isset($charset->collation) ||
52 !is_string($charset->collation) ||
53 $collation_connection !== $charset->collation)
54 …ting string/%s, got %s/%s\n", $collation_connection, gettype($charset->collation), $charset->colla…
56 if (!isset($charset->dir) ||
57 !is_string($charset->dir))
58 …ng string - ideally %s*, got %s/%s\n", $character_sets_dir, gettype($charset->dir), $charset->dir);
60 if (!isset($charset->min_length) ||
61 !(is_int($charset->min_length)) ||
62 ($charset->min_length < 0) ||
63 ($charset->min_length > $charset->max_length))
64 printf("[020] Expecting int between 0 ... %d, got %s/%s\n", $charset->max_length,
65 gettype($charset->min_length), $charset->min_length);
67 if (!isset($charset->number) ||
68 !is_int($charset->number) ||
69 ($charset->number !== (int)$id))
70 … printf("[021] Expecting int/%d, got %s/%s\n", $id, gettype($charset->number), $charset->number);
72 if (!isset($charset->state) ||
73 !is_int($charset->state))
74 printf("[022] Expecting int/any, got %s/%s\n", gettype($charset->state), $charset->state);