Searched defs:new_hash (Results 1 - 2 of 2) sorted by relevance

/PHP_TRUNK/ext/sockets/
H A Dsockets.c803 zval new_hash; local
810 array_init(&new_hash);
818 dest_element = zend_hash_add(Z_ARRVAL(new_hash), key, element);
820 dest_element = zend_hash_index_update(Z_ARRVAL(new_hash), num_key, element);
832 ZVAL_COPY_VALUE(sock_array, &new_hash);
/PHP_TRUNK/ext/standard/
H A Darray.c2243 HashTable new_hash; /* New hashtable for the stack */ local
2253 zend_hash_init(&new_hash, zend_hash_num_elements(Z_ARRVAL_P(stack)) + argc, NULL, ZVAL_PTR_DTOR, 0);
2258 zend_hash_next_index_insert_new(&new_hash, &args[i]);
2262 zend_hash_add_new(&new_hash, key, value);
2264 zend_hash_next_index_insert_new(&new_hash, value);
2270 *Z_ARRVAL_P(stack) = new_hash;

Completed in 13 milliseconds