mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Use zend_string for DBA exist handler
This commit is contained in:
parent
0eb0f64455
commit
cd98e46583
15 changed files with 29 additions and 28 deletions
|
@ -912,7 +912,7 @@ PHP_FUNCTION(dba_exists)
|
|||
}
|
||||
}
|
||||
|
||||
RETVAL_BOOL(info->hnd->exists(info, ZSTR_VAL(key_str), ZSTR_LEN(key_str)) == SUCCESS);
|
||||
RETVAL_BOOL(info->hnd->exists(info, key_str) == SUCCESS);
|
||||
DBA_RELEASE_HT_KEY_CREATION();
|
||||
}
|
||||
/* }}} */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue