diff options
author | Sebastian Bergmann <sebastian@php.net> | 2003-07-23 04:02:26 +0000 |
---|---|---|
committer | Sebastian Bergmann <sebastian@php.net> | 2003-07-23 04:02:26 +0000 |
commit | 786afb48cb9186afafae9400c57fc2a8c26e5e63 (patch) | |
tree | ab3e77afe25e6bf62dcb239bebe30fec19465181 /ext/reflection/php_reflection.c | |
parent | a480901c9f9f61ea4a59d7ebe69abb430ef5aaf7 (diff) | |
download | php-git-786afb48cb9186afafae9400c57fc2a8c26e5e63.tar.gz |
Fix segfault. Patch by Timm Friebe <thekid@thekid.de>.
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 493c25e9b2..8cd8e104e3 100644 --- a/ext/reflection/php_reflection.c +++ b/ext/reflection/php_reflection.c @@ -945,7 +945,7 @@ ZEND_FUNCTION(reflection_method_invoke) METHOD_NOTSTATIC; if (argc < 1) { - zend_error(E_WARNING, "First parameter is expected to be an instance of %s", mptr->common.scope->name); + zend_error(E_WARNING, "%s expects at least one parameter, none given", get_active_function_name(TSRMLS_C)); RETURN_FALSE; } |