mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Remove leading underscore for _zend_hash_find_known_hash (#7260)
Convert zend_hash_find_ex(..., 1) to zend_hash_find_known_hash(...) Convert zend_hash_find_ex(..., 0) to zend_hash_find(...) Also add serializable changes to UPGRADING.INTERNALS summary
This commit is contained in:
parent
576655e23f
commit
ae8647d9d3
21 changed files with 171 additions and 168 deletions
|
@ -382,7 +382,7 @@ ZEND_FUNCTION(error_reporting)
|
|||
zend_ini_entry *p = EG(error_reporting_ini_entry);
|
||||
|
||||
if (!p) {
|
||||
zval *zv = zend_hash_find_ex(EG(ini_directives), ZSTR_KNOWN(ZEND_STR_ERROR_REPORTING), 1);
|
||||
zval *zv = zend_hash_find_known_hash(EG(ini_directives), ZSTR_KNOWN(ZEND_STR_ERROR_REPORTING));
|
||||
if (!zv) {
|
||||
/* Ini setting does not exist -- can this happen? */
|
||||
RETURN_LONG(old_error_reporting);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue