1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

tree-wide: Replace zval_is_true() by zend_is_true() (#20065)

* tree-wide: Replace `zval_is_true()` by `zend_is_true()`

The former is a direct alias of the latter which is much more often used.

* zend_operators: Remove `zval_is_true()`
This commit is contained in:
Tim Düsterhus
2025-10-07 20:44:32 +02:00
committed by GitHub
parent 7f5c3cd28d
commit 985d681501
13 changed files with 33 additions and 34 deletions

View File

@@ -4967,7 +4967,7 @@ PHP_PGSQL_API zend_result php_pgsql_convert(PGconn *pg_link, const zend_string *
break; /* break out for() */
}
if (zval_is_true(is_enum)) {
if (zend_is_true(is_enum)) {
/* enums need to be treated like strings */
data_type = PG_TEXT;
} else {