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

Zend: Replace RETVAL_TRUE/RETVAL_FALSE with RETVAL_BOOL (#21277)

This commit is contained in:
Arshid
2026-02-24 02:02:14 +05:30
committed by GitHub
parent 7158e6376e
commit 3b609a14e5

View File

@@ -2228,11 +2228,7 @@ ZEND_FUNCTION(extension_loaded)
}
lcname = zend_string_tolower(extension_name);
if (zend_hash_exists(&module_registry, lcname)) {
RETVAL_TRUE;
} else {
RETVAL_FALSE;
}
RETVAL_BOOL(zend_hash_exists(&module_registry, lcname));
zend_string_release_ex(lcname, 0);
}
/* }}} */