Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kran opened this issue Sep 16, 2015 · 2 comments
Open

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

kran opened this issue Sep 16, 2015 · 2 comments

Comments

@kran
Copy link

kran commented Sep 16, 2015

看了下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)

是我漏了哪些东西吗?

@hahaliu005
Copy link

应该是以5.3.6为例讲解的吧

@walu
Copy link
Owner

walu commented Aug 4, 2016

是的,以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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants