Lines Matching refs:first
579 zval *first = NULL; in add_header_to_table() local
589 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z|zb", &first, &second, &replace) == FAILURE… in add_header_to_table()
593 if (Z_TYPE_P(first) == IS_ARRAY) { in add_header_to_table()
597 zend_hash_internal_pointer_reset_ex(Z_ARRVAL_P(first), &pos); in add_header_to_table()
598 while (zend_hash_get_current_data_ex(Z_ARRVAL_P(first), (void **)&entry, &pos) == SUCCESS) { in add_header_to_table()
599 …switch(zend_hash_get_current_key_ex(Z_ARRVAL_P(first), &string_key, &string_key_len, &num_key, 0, … in add_header_to_table()
601 … if (zend_hash_find(Z_ARRVAL_P(first), string_key, string_key_len, (void **)&value) == FAILURE) { in add_header_to_table()
602 zend_hash_move_forward_ex(Z_ARRVAL_P(first), &pos); in add_header_to_table()
606 zend_hash_move_forward_ex(Z_ARRVAL_P(first), &pos); in add_header_to_table()
623 zend_hash_move_forward_ex(Z_ARRVAL_P(first), &pos); in add_header_to_table()
630 } else if (Z_TYPE_P(first) == IS_STRING) { in add_header_to_table()
636 ap_table_set(t, Z_STRVAL_P(first), Z_STRVAL_P(second)); in add_header_to_table()
638 ap_table_merge(t, Z_STRVAL_P(first), Z_STRVAL_P(second)); in add_header_to_table()