Open
Description
Description
The following code:
<?php
$pdo = new PDO('odbc:Driver={SybaseDriver};Server=xxx;Port=yyy;', user', 'pwd');
$result = $pdo->query('exec some_procedure')->fetchAll();
echo '<pre>';
var_dump($result);
echo '</pre>';
Resulted in this output:
["test"]=>
NULL
[0]=>
NULL
But I expected this output instead:
["test"]=>
string(4) "test"
[0]=>
string(4) "test"
DB columns with data type text are always NULL https://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc32300.1570/html/sqlug/X20354.htm
PHP Version
PHP 8.1.29
Operating System
Rocky Linux 9.4 (Blue Onyx)