1 |
|
|
2 |
|
http://svn.php.net/viewvc?view=revision&revision=301863 |
3 |
|
|
4 |
|
https://bugzilla.redhat.com/show_bug.cgi?id=700724 |
5 |
|
|
6 |
|
--- php-5.3.3/ext/standard/var.c.varnegidx |
7 |
|
+++ php-5.3.3/ext/standard/var.c |
8 |
|
@@ -353,7 +353,7 @@ static int php_array_element_export(zval |
9 |
|
|
10 |
|
if (hash_key->nKeyLength == 0) { /* numeric key */ |
11 |
|
buffer_append_spaces(buf, level+1); |
12 |
|
- smart_str_append_long(buf, hash_key->h); |
13 |
|
+ smart_str_append_long(buf, (long) hash_key->h); |
14 |
|
smart_str_appendl(buf, " => ", 4); |
15 |
|
} else { /* string key */ |
16 |
|
char *key, *tmp_str; |