Searched refs:pats (Results 1 - 1 of 1) sorted by relevance

/PHP_5_6/ext/standard/
H A Dstring.c2899 static PATNREPL *php_strtr_array_prepare_repls(int slen, HashTable *pats, zend_llist **allocs, int *outsize) argument
2904 int num_pats = zend_hash_num_elements(pats),
2911 for (i = 0, zend_hash_internal_pointer_reset_ex(pats, &hpos);
2912 zend_hash_get_current_data_ex(pats, (void **)&entry, &hpos) == SUCCESS;
2913 zend_hash_move_forward_ex(pats, &hpos)) {
2919 switch (zend_hash_get_current_key_ex(pats, &string_key, &string_key_len, &num_key, 0, &hpos)) {
3099 static void php_strtr_array(zval *return_value, char *str, int slen, HashTable *pats) argument
3107 if (zend_hash_num_elements(pats) == 0) {
3114 patterns = php_strtr_array_prepare_repls(slen, pats, &allocs, &patterns_len);

Completed in 49 milliseconds