summaryrefslogtreecommitdiff
path: root/ext/reflection
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2004-12-27 11:41:45 +0000
committerMarcus Boerger <helly@php.net>2004-12-27 11:41:45 +0000
commit4b80deed8eb3b569d863cc237c1c071d691edf56 (patch)
tree88b371d0937b3f5f0cb2abbd1ff9c3457494972a /ext/reflection
parent4da21882fd2ab532c376d0c6a135740b952d4e3e (diff)
downloadphp-git-4b80deed8eb3b569d863cc237c1c071d691edf56.tar.gz
- Small fixlet (by Tony)
Diffstat (limited to 'ext/reflection')
-rw-r--r--ext/reflection/php_reflection.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c
index 69ee635c03..54b25a8ab9 100644
--- a/ext/reflection/php_reflection.c
+++ b/ext/reflection/php_reflection.c
@@ -623,7 +623,7 @@ static void _function_string(string *str, zend_function *fptr, char* indent TSRM
string_printf(str, "protected ");
break;
default:
- string_printf(str, "<visibilty error> ");
+ string_printf(str, "<visibility error> ");
break;
}
@@ -3542,7 +3542,7 @@ static int add_extension_class(zend_class_entry **pce, int num_args, va_list arg
zend_reflection_class_factory(*pce, zclass TSRMLS_CC);
add_assoc_zval_ex(class_array, (*pce)->name, (*pce)->name_length + 1, zclass);
} else {
- add_next_index_stringl(class_array, (*pce)->name, (*pce)->name_length + 1, 1);
+ add_next_index_stringl(class_array, (*pce)->name, (*pce)->name_length, 1);
}
}
return ZEND_HASH_APPLY_KEEP;