[PECL-CVS] [pecl-database-pdo_oci] pdo_oci_param_bool_fix: replace z_val_is_true with zend_is_true

[email protected] (Sharad Chandran R)
Newsgroups php.pecl.cvs
Message-ID <[email protected]>
Author: Sharad Chandran R (sharadraju)
Date: 2026-01-05T16:55:51+05:30

Commit: https://github.com/php/pecl-database-pdo_oci/commit/e1f82a5e363f0cb4ec1ea562ec840b691a287604
Raw diff: https://github.com/php/pecl-database-pdo_oci/commit/e1f82a5e363f0cb4ec1ea562ec840b691a287604.diff

replace z_val_is_true with zend_is_true

Changed paths:
  M  oci_statement.c


Diff:

diff --git a/oci_statement.c b/oci_statement.c
index 79788d7..440055b 100644
--- a/oci_statement.c
+++ b/oci_statement.c
@@ -227,7 +227,7 @@ static sb4 oci_bind_input_cb(dvoid *ctx, OCIBind *bindp, ub4 iter, ub4 index, dv
 	} else if (!P->thing) {
 		if(PDO_PARAM_TYPE(param->param_type) == PDO_PARAM_BOOL) {
 			/* Handle boolean as "1"/ "0" */
-			if(zval_is_true(parameter)) {
+			if(zend_is_true(parameter)) {
 				zval_ptr_dtor(parameter);
 				ZVAL_CHAR(parameter, '1');
 			} else {
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.