php.net |  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
Votes:3
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
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


Patches

Pull Requests

Pull requests:

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-09-12 21:27 UTC] adambaratz@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: adambaratz
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Nov 22 00:01:30 2024 UTC