mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +02:00
Remove zend_hash_exists()
This commit is contained in:
parent
e6a09f39b8
commit
0df57480b6
1 changed files with 1 additions and 3 deletions
|
@ -550,9 +550,7 @@ static void php_soap_prepare_globals()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* Index everything by number */
|
/* Index everything by number */
|
||||||
if (!zend_hash_index_exists(&defEncIndex, defaultEncoding[i].details.type)) {
|
zend_hash_index_add_ptr(&defEncIndex, defaultEncoding[i].details.type, (void*)enc);
|
||||||
zend_hash_index_update_ptr(&defEncIndex, defaultEncoding[i].details.type, (void*)enc);
|
|
||||||
}
|
|
||||||
i++;
|
i++;
|
||||||
} while (defaultEncoding[i].details.type != END_KNOWN_TYPES);
|
} while (defaultEncoding[i].details.type != END_KNOWN_TYPES);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue