On Wed, 2003-07-23 at 00:49, Timm Friebe wrote:
[...Read, then hit send...]

This error message contains slightly better English:)

- Timm
Index: Zend/zend_reflection_api.c
===================================================================
RCS file: /repository/ZendEngine2/zend_reflection_api.c,v
retrieving revision 1.17
diff -u -r1.17 zend_reflection_api.c
--- Zend/zend_reflection_api.c	20 Jul 2003 20:16:07 -0000	1.17
+++ Zend/zend_reflection_api.c	22 Jul 2003 22:53:21 -0000
@@ -945,7 +945,7 @@
 	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;
 	}
 	

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to