Lines Matching refs:meta
100 function test_return($meta, $offset, $native_type, $pdo_type){
101 if (empty($meta)) {
108 if (!isset($meta[$element])) {
110 $element, var_export($meta, true));
115 if (!isset($meta['native_type'])) {
117 var_export($meta, true));
126 if ($meta['native_type'] == $type) {
134 var_export($native_type, true), var_export($meta, true));
139 if (!is_null($pdo_type) && ($meta['pdo_type'] != $pdo_type)) {
141 $pdo_type, var_export($meta, true), var_export($meta['native_type']));
175 $meta = $stmt->getColumnMeta(1);
176 return test_return($meta, $offset, $native_type, $pdo_type);
247 $meta = $stmt->getColumnMeta(0);
248 test_return($meta, 380, 'NUMBER', PDO::PARAM_STR);
250 $meta = $stmt->getColumnMeta(0);
251 test_return($meta, 390, 'DATE', PDO::PARAM_STR);
253 $meta = $stmt->getColumnMeta(0);
254 test_return($meta, 400, 'VARCHAR2', PDO::PARAM_STR);
264 $meta = $stmt->getColumnMeta(0);
266 if (!isset($meta['flags'])) {
267 printf("[1001] No flags contained in metadata %s\n", var_export($meta, true));
269 $flags = $meta['flags'];
275 printf("[1003] Flags seem wrong %s\n", var_export($meta, true));
278 printf("[1002] Flags seem wrong %s\n", var_export($meta, true));
280 $meta = $stmt->getColumnMeta(1);
282 if (!isset($meta['flags'])) {
283 printf("[1003] No flags contained in metadata %s\n", var_export($meta, true));
285 $flags = $meta['flags'];
289 printf("[1004] Flags seem wrong %s\n", var_export($meta, true));
294 printf("[1005] Flags seem wrong %s\n", var_export($meta, true));