We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7158e63 commit 3b609a1Copy full SHA for 3b609a1
1 file changed
Zend/zend_builtin_functions.c
@@ -2228,11 +2228,7 @@ ZEND_FUNCTION(extension_loaded)
2228
}
2229
2230
lcname = zend_string_tolower(extension_name);
2231
- if (zend_hash_exists(&module_registry, lcname)) {
2232
- RETVAL_TRUE;
2233
- } else {
2234
- RETVAL_FALSE;
2235
- }
+ RETVAL_BOOL(zend_hash_exists(&module_registry, lcname));
2236
zend_string_release_ex(lcname, 0);
2237
2238
/* }}} */
0 commit comments