Req #72601 [Opn->Csd]: Stringify 'uniqidentifier' fields
| From: | adambaratz@php.net | Date: | Mon, 12 Sep 2016 21:27:33 +0000 |
| Subject: | Req #72601 [Opn->Csd]: Stringify 'uniqidentifier' fields | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-203981@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=72601&edit=1
ID: 72601
Updated by: adambaratz@php.net
Reported by: axelhex at gmail dot com
Summary: Stringify 'uniqidentifier' fields
-Status: Open
+Status: Closed
Type: Feature/Change Request
Package: PDO DBlib
PHP Version: 7.0Git-2016-07-15 (Git)
-Assigned To:
+Assigned To: adambaratz
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2016-07-15 07:53:39] axelhex at gmail dot com
Description:
------------
Before PHP 7.0 pdo_dblib returns
uniqidentifier fields as 36-byte hex string, a
'human' representation of GUID, like '82A88958-672B-4C22-842F-216E2B88E72A'.
Now such fields returns as 16-byte raw binary string.
I propose keep old behavior and return fields in human representation when
PDO::ATTR_STRINGIFY_FETCHES == true.
PR #2001
https://github.com/php/php-src/pull/2001
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=72601&edit=1