Skip to content

8.2 里的zend_hash_add原型是在新版php中有变化吗? #120

Open

Description

@kran

看了下5.5,声明变了:

ZEND_API int _zend_hash_add_or_update(HashTable *ht, const char *arKey, uint nKeyLength, void *pData, uint nDataSize, void **pDest, int flag ZEND_FILE_LINE_DC);
#define zend_hash_update(ht, arKey, nKeyLength, pData, nDataSize, pDest) \
    _zend_hash_add_or_update(ht, arKey, nKeyLength, pData, nDataSize, pDest,   HASH_UPDATE ZEND_FILE_LINE_CC)
#define zend_hash_add(ht, arKey, nKeyLength, pData, nDataSize, pDest) \
    _zend_hash_add_or_update(ht, arKey, nKeyLength, pData, nDataSize, pDest, HASH_ADD ZEND_FILE_LINE_CC)

是我漏了哪些东西吗?

Activity

  1. hahaliu005 commented on Aug 3, 2016

    @hahaliu005

    应该是以5.3.6为例讲解的吧

  2. walu commented on Aug 4, 2016

    @walu
    Owner

    是的,以5.3.6为例。

    2016-08-03 11:49 GMT+08:00 gang liu notifications@github.com:

    应该是以5.3.6为例讲解的吧

    —
    You are receiving this because you are subscribed to this thread.
    Reply to this email directly, view it on GitHub
    #120 (comment), or mute
    the thread
    https://github.com/notifications/unsubscribe-auth/AAm6IkvsDnAZ2Tt8b0zEdA-8Ys8YBDvWks5qcA_GgaJpZM4F-Giv
    .

    Thanks.

    Mingqiang

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions