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

/PHP_TRUNK/ext/standard/
H A Dstring.c2896 static PATNREPL *php_strtr_array_prepare_repls(int slen, HashTable *pats, zend_llist **allocs, int *outsize) argument
2901 int num_pats = zend_hash_num_elements(pats),
2908 for (i = 0, zend_hash_internal_pointer_reset_ex(pats, &hpos);
2909 zend_hash_get_current_data_ex(pats, (void **)&entry, &hpos) == SUCCESS;
2910 zend_hash_move_forward_ex(pats, &hpos)) {
2916 switch (zend_hash_get_current_key_ex(pats, &string_key, &string_key_len, &num_key, 0, &hpos)) {
3096 static void php_strtr_array(zval *return_value, char *str, int slen, HashTable *pats) argument
3107 patterns = php_strtr_array_prepare_repls(slen, pats, &allocs, &patterns_len);

Completed in 10 milliseconds