|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #72601 Stringify 'uniqidentifier' fields
Submitted: 2016-07-15 07:53 UTC Modified: 2016-09-12 21:27 UTC
Avg. Score:5.0 ± 0.0
Reproduced:3 of 3 (100.0%)
Same Version:3 (100.0%)
Same OS:3 (100.0%)
From: axelhex at gmail dot com Assigned: adambaratz (profile)
Status: Closed Package: PDO DBlib
PHP Version: 7.0Git-2016-07-15 (Git) OS:
Private report: No CVE-ID: None
 [2016-07-15 07:53 UTC] axelhex at gmail dot com
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


Add a Patch

Pull Requests

Pull requests:

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2016-09-12 21:27 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: adambaratz
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Thu Jun 17 06:01:24 2021 UTC