1--TEST-- 2PDO_DBLIB: Does not support get column meta 3--SKIPIF-- 4<?php 5if (!extension_loaded('pdo_dblib')) die('skip not loaded'); 6require dirname(__FILE__) . '/config.inc'; 7?> 8--FILE-- 9<?php 10require dirname(__FILE__) . '/config.inc'; 11 12$stmt = $db->prepare("select ic1.* from information_schema.columns ic1"); 13$stmt->execute(); 14var_dump($stmt->getColumnMeta(0)); 15$stmt = null; 16?> 17--EXPECTF-- 18array(8) { 19 ["max_length"]=> 20 int(%d) 21 ["precision"]=> 22 int(0) 23 ["scale"]=> 24 int(0) 25 ["column_source"]=> 26 string(13) "TABLE_CATALOG" 27 ["native_type"]=> 28 string(4) "char" 29 ["name"]=> 30 string(13) "TABLE_CATALOG" 31 ["len"]=> 32 int(%d) 33 ["pdo_type"]=> 34 int(2) 35} 36