summaryrefslogtreecommitdiff
path: root/ext/standard/info.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2000-12-22 12:57:09 +0000
committerZeev Suraski <zeev@php.net>2000-12-22 12:57:09 +0000
commitaa6d2ac5d0ee1d7cd608c6930ad0c57bc2953c47 (patch)
tree5776ae30d4c8115659935309042b9784ba55d592 /ext/standard/info.c
parent36eaad252fc5fe292cd4f071f76e7879ce21130c (diff)
downloadphp-git-aa6d2ac5d0ee1d7cd608c6930ad0c57bc2953c47.tar.gz
Heads up people!
Updated the get_current_key() API - the relevant authors, please take a look at the updated code and make sure it's ok...
Diffstat (limited to 'ext/standard/info.c')
-rw-r--r--ext/standard/info.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/standard/info.c b/ext/standard/info.c
index 17dedeea3c..ecd3ab0a10 100644
--- a/ext/standard/info.c
+++ b/ext/standard/info.c
@@ -82,10 +82,9 @@ static void php_print_gpcse_array(char *name, uint name_length ELS_DC)
PUTS("<TD BGCOLOR=\"" PHP_ENTRY_NAME_COLOR "\"><B>");
PUTS(name);
PUTS("[\"");
- switch (zend_hash_get_current_key((*data)->value.ht, &string_key, &num_key)) {
+ switch (zend_hash_get_current_key((*data)->value.ht, &string_key, &num_key, 0)) {
case HASH_KEY_IS_STRING:
PUTS(string_key);
- efree(string_key);
break;
case HASH_KEY_IS_LONG:
php_printf("%ld",num_key);