[PECL-CVS] [pecl-database-pdo_oci] main: 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-06T10:19:31+05:30
Commit: https://github.com/php/pecl-database-pdo_oci/commit/f38ec7669cb1b3a62ee94faa1e1e36d2100e1cd2
Raw diff: https://github.com/php/pecl-database-pdo_oci/commit/f38ec7669cb1b3a62ee94faa1e1e36d2100e1cd2.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 {