logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

cvs: ZendEngine2 / zend_reflection_api.c: msg#00061

Subject: cvs: ZendEngine2 / zend_reflection_api.c
helly           Sat Oct 30 15:53:29 2004 EDT

  Modified files:              
    /ZendEngine2        zend_reflection_api.c 
  Log:
  - Be consistent and use names as keys (found by johannes)
  
  
http://cvs.php.net/diff.php/ZendEngine2/zend_reflection_api.c?r1=1.133&r2=1.134&ty=u
Index: ZendEngine2/zend_reflection_api.c
diff -u ZendEngine2/zend_reflection_api.c:1.133 
ZendEngine2/zend_reflection_api.c:1.134
--- ZendEngine2/zend_reflection_api.c:1.133     Sat Oct 30 06:13:27 2004
+++ ZendEngine2/zend_reflection_api.c   Sat Oct 30 15:53:25 2004
@@ -19,7 +19,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: zend_reflection_api.c,v 1.133 2004/10/30 10:13:27 helly Exp $ */
+/* $Id: zend_reflection_api.c,v 1.134 2004/10/30 19:53:25 helly Exp $ */
 #include "zend.h"
 #include "zend_API.h"
 #include "zend_exceptions.h"
@@ -3257,7 +3257,7 @@
                        
                        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++;
                }
        }

-- 
Zend Engine CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




<Prev in Thread] Current Thread [Next in Thread>