summaryrefslogtreecommitdiff
path: root/ext/reflection/php_reflection.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2004-02-11 12:35:24 +0000
committerZeev Suraski <zeev@php.net>2004-02-11 12:35:24 +0000
commitfde9bac47628de88d91b4d7faa082420e72a5924 (patch)
tree84fc2414e937677107e6f9fa7d5748a82745789c /ext/reflection/php_reflection.c
parent6b6fe2f76e2e32e78bfee47ccb3c8f060f28f070 (diff)
downloadphp-git-fde9bac47628de88d91b4d7faa082420e72a5924.tar.gz
Fix crash (patch by Rob Richards)
Diffstat (limited to 'ext/reflection/php_reflection.c')
-rw-r--r--ext/reflection/php_reflection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c
index c7c5076e7d..d923f811ba 100644
--- a/ext/reflection/php_reflection.c
+++ b/ext/reflection/php_reflection.c
@@ -1008,7 +1008,7 @@ ZEND_METHOD(reflection_function, __construct)
if (zend_hash_find(EG(function_table), lcname, name_len + 1, (void **)&fptr) == FAILURE) {
free_alloca(lcname);
zend_throw_exception_ex(reflection_exception_ptr, 0 TSRMLS_CC,
- "Function %s() does not exist", Z_STRVAL_P(name));
+ "Function %s() does not exist", name_str);
return;
}
free_alloca(lcname);