Bug #73312 [NEW]: DBlib continues to return binary data instead of stringified "uniqueidentifier"
| From: | Andrey dot Inihov at yandex dot ru | Date: | Thu, 13 Oct 2016 10:39:44 +0000 |
| Subject: | Bug #73312 [NEW]: DBlib continues to return binary data instead of stringified "uniqueidentifier" | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-204662@lists.php.net to get a copy of this message | ||
From: Andrey dot Inihov at yandex dot ru
Operating system: Centos 7
PHP version: 7.0.11
Package: PDO DBlib
Bug Type: Bug
Bug description:DBlib continues to return binary data instead of stringified
"uniqueidentifier"
Description:
------------
The test script (as well as any sql query intended to retrieve
uniqueidentifier from database) keeps returning binary data instead of
its' stringified value.
PHP Version: 7.0.11 from webtatic
Apache: 2.4.6
Test script:
---------------
$dbh = new \PDO ("dblib:host=192.168.1.3;dbname=a3ssmDEV",
"web_interface", "X9QARIhY");
$stmt = $dbh->prepare("select UserID from a3.dat_dat_User where Login =
'example'");
$stmt->execute();
while ($row = $stmt->fetch()) {
print_r($row);
}
die;
--
Edit bug report at https://bugs.php.net/bug.php?id=73312&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=73312&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=73312&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=73312&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=73312&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=73312&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=73312&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=73312&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=73312&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=73312&r=support
Expected behavior: https://bugs.php.net/fix.php?id=73312&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=73312&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=73312&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=73312&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=73312&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=73312&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=73312&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=73312&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=73312&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=73312&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=73312&r=mysqlcfg