- Fix warning
authorMarcus Boerger <helly@php.net>
Fri, 24 Feb 2006 13:37:20 +0000 (13:37 +0000)
committerMarcus Boerger <helly@php.net>
Fri, 24 Feb 2006 13:37:20 +0000 (13:37 +0000)
ext/reflection/php_reflection.c

index 7dab6a3f50155ef08c4ed3745b6f72f4e8ad5006..1605063edfe7073ae88b05b3e4513d32ff1d30f9 100644 (file)
@@ -757,13 +757,14 @@ static void _function_string(string *str, zend_function *fptr, zend_class_entry
 /* }}} */
 
 /* {{{ _property_string */
-static void _property_string(string *str, zend_property_info *prop, char *prop_name, char* indent TSRMLS_DC)
+static void _property_string(string *str, zend_property_info *prop, char *sz_prop_name, char* indent TSRMLS_DC)
 {
        zstr class_name;
+       zstr prop_name;
 
        string_printf(str, "%sProperty [ ", indent);
        if (!prop) {
-               string_printf(str, "<dynamic> public $%s", prop_name);
+               string_printf(str, "<dynamic> public $%s", sz_prop_name);
        } else {
                if (!(prop->flags & ZEND_ACC_STATIC)) {
                        if (prop->flags & ZEND_ACC_IMPLICIT_PUBLIC) {