[php-src] Issue #15725: PDO ODBC with SybaseASE - text datatype

From: Date: Tue, 03 Sep 2024 14:42:20 +0000
Subject: [php-src] Issue #15725: PDO ODBC with SybaseASE - text datatype
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-247688@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/15725 Author: hanisko ### Description The following code: ```php <?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)

« previous php.bugs (#247688) next »