cvs: php-src /ext/standard basic_functions.c
| From: | Marcus Boerger | Date: | Sun, 20 Jun 2004 09:37:35 +0000 |
| Subject: | cvs: php-src /ext/standard basic_functions.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-27651@lists.php.net to get a copy of this message | ||
helly Sun Jun 20 05:37:35 2004 EDT
Modified files:
/php-src/ext/standard basic_functions.c
Log:
Bugfix #28851: call_user_func_array has typo in error message
http://cvs.php.net/diff.php/php-src/ext/standard/basic_functions.c?r1=1.669&r2=1.670&ty=u
Index: php-src/ext/standard/basic_functions.c
diff -u php-src/ext/standard/basic_functions.c:1.669 php-src/ext/standard/basic_functions.c:1.670
--- php-src/ext/standard/basic_functions.c:1.669 Fri May 28 06:45:18 2004
+++ php-src/ext/standard/basic_functions.c Sun Jun 20 05:37:35 2004
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: basic_functions.c,v 1.669 2004/05/28 10:45:18 derick Exp $ */
+/* $Id: basic_functions.c,v 1.670 2004/06/20 09:37:35 helly Exp $ */
#include "php.h"
#include "php_streams.h"
@@ -1932,7 +1932,7 @@
}
if (!zend_is_callable(*func, 0, &name)) {
- php_error_docref(NULL TSRMLS_CC, E_WARNING, "First argumented is expected to be a valid
callback, '%s' was given", name);
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "First argument is expected to be a valid
callback, '%s' was given", name);
efree(name);
RETURN_NULL();
}