diff options
author | Marcus Boerger <helly@php.net> | 2004-10-30 19:53:25 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2004-10-30 19:53:25 +0000 |
commit | 9d7cba9db0cc3ef68c4650cbcfb91ba880f1b493 (patch) | |
tree | 4316295fc1c02d003a5d421b7cda0fe9122c5545 /ext/reflection/php_reflection.c | |
parent | 260fb777e20c87cbd81f94cd71b2e1fa5eb9181f (diff) | |
download | php-git-9d7cba9db0cc3ef68c4650cbcfb91ba880f1b493.tar.gz |
- Be consistent and use names as keys (found by johannes)
Diffstat (limited to 'ext/reflection/php_reflection.c')
-rw-r--r-- | ext/reflection/php_reflection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c index 219cdb229a..c849b78593 100644 --- a/ext/reflection/php_reflection.c +++ b/ext/reflection/php_reflection.c @@ -3257,7 +3257,7 @@ ZEND_METHOD(reflection_extension, getFunctions) ALLOC_ZVAL(function); reflection_function_factory(fptr, function TSRMLS_CC); - add_next_index_zval(return_value, function); + add_assoc_zval_ex(return_value, func->fname, strlen(func->fname)+1, function); func++; } } |