|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #74314 does not compile with PHP 7
Submitted: 2017-03-26 02:38 UTC Modified: 2017-03-27 21:29 UTC
From: helmut at evermeet dot cx Assigned: cmb (profile)
Status: Duplicate Package: PDO_IBM (PECL)
PHP Version: 7.1.3 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
38 - 25 = ?
Subscribe to this entry?

 [2017-03-26 02:38 UTC] helmut at evermeet dot cx
line 948:

the code should be:

                option_str = Z_STRVAL_P(*data);
                option_str = Z_STRVAL_PP(data);


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2017-03-27 17:43 UTC]
-Status: Open +Status: Duplicate -Assigned To: +Assigned To: cmb
 [2017-03-27 17:43 UTC]
This is a duplicate of bug #74114.
 [2017-03-27 21:29 UTC] helmut at evermeet dot cx
The other bug was submitted more than a month ago. How long does it take to fix a simple bug? Especially, if you know how to fix it?

Also, the git repository for ibm_db2 was not updated to the latest 1.9.8 and 1.9.9 versions. No commits after June 2015. Really, what are you guys doing?

Maybe IBM should leave the code in hands of people who care for it.
 [2018-06-07 14:54 UTC] ronyan at outlook dot com
See a workaround: pdo_ibm 1.3.5:

                        if (Z_TYPE_P(data) == IS_STRING) {
			if (Z_TYPE_PP(data) == IS_STRING) {
//------------- fix ---------------
				option_str = Z_STRVAL_P(data);
				option_str = Z_STRVAL_PP(data);
//------------- end fix ---------------
		} else {
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sun Mar 29 22:01:26 2020 UTC