mirror of
https://github.com/php/php-src.git
synced 2026-04-13 11:02:55 +02:00
Remove zend_hash_exists()
This commit is contained in:
@@ -550,9 +550,7 @@ static void php_soap_prepare_globals()
|
||||
}
|
||||
}
|
||||
/* Index everything by number */
|
||||
if (!zend_hash_index_exists(&defEncIndex, defaultEncoding[i].details.type)) {
|
||||
zend_hash_index_update_ptr(&defEncIndex, defaultEncoding[i].details.type, (void*)enc);
|
||||
}
|
||||
zend_hash_index_add_ptr(&defEncIndex, defaultEncoding[i].details.type, (void*)enc);
|
||||
i++;
|
||||
} while (defaultEncoding[i].details.type != END_KNOWN_TYPES);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user