summaryrefslogtreecommitdiff
path: root/ext/session/php_session.h
diff options
context:
space:
mode:
authorVeres Lajos <vlajos@gmail.com>2013-07-08 22:09:06 +0100
committerStanislav Malyshev <stas@php.net>2013-07-21 20:09:53 -0700
commit4749457a498828e9f7919401889a991b8a9b94b5 (patch)
treee3515ab9366020e2b422a370033c0b4f2b91d11f /ext/session/php_session.h
parent29281dee491d675185ce155e7956d1617d551c4a (diff)
downloadphp-git-4749457a498828e9f7919401889a991b8a9b94b5.tar.gz
HASH_KEY_NON_EXISTANT fix
Diffstat (limited to 'ext/session/php_session.h')
-rw-r--r--ext/session/php_session.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/session/php_session.h b/ext/session/php_session.h
index 1dd5b1a1a6..b28c2b4c28 100644
--- a/ext/session/php_session.h
+++ b/ext/session/php_session.h
@@ -254,7 +254,7 @@ PHPAPI const ps_serializer *_php_find_ps_serializer(char *name TSRMLS_DC);
int key_type; \
\
for (zend_hash_internal_pointer_reset(_ht); \
- (key_type = zend_hash_get_current_key_ex(_ht, &key, &key_length, &num_key, 0, NULL)) != HASH_KEY_NON_EXISTANT; \
+ (key_type = zend_hash_get_current_key_ex(_ht, &key, &key_length, &num_key, 0, NULL)) != HASH_KEY_NON_EXISTENT; \
zend_hash_move_forward(_ht)) { \
if (key_type == HASH_KEY_IS_LONG) { \
php_error_docref(NULL TSRMLS_CC, E_NOTICE, "Skipping numeric key %ld", num_key); \