|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #57115 Support for binding binary strings
Submitted: 2006-06-29 06:59 UTC Modified: 2017-10-24 08:29 UTC
From: Jared dot Williams1 at ntlworld dot com Assigned:
Status: Open Package: PDO related
PHP Version: Irrelevant OS: Win2000
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: Jared dot Williams1 at ntlworld dot com
New email:
PHP Version: OS:


 [2006-06-29 06:59 UTC] Jared dot Williams1 at ntlworld dot com
Would be nice if support for binding binary strings were added. Currently needing to store SHA1 keys and prefer to store them as binary (20 bytes which I don't think qualifies as a large object) as opposed to any other encoding.

SQL Standard specifies that binary strings should be in hexadecimal and preceded by an X such like..


There maybe a case for 2 methods/options/ways, one where the value needs to be converted to hexdecimal first, and when the value is already in hexdecimal (like the return value from sha1($foo) )


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2017-03-01 22:30 UTC]
-Package: PDO +Package: PDO Core
 [2017-10-24 08:29 UTC]
-Package: PDO Core +Package: PDO related
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sun Sep 27 16:01:24 2020 UTC