php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #28851 call_user_func_array has typo in error message
Submitted: 2004-06-20 06:54 UTC Modified: 2004-06-20 11:39 UTC
From: aidan@php.net Assigned:
Status: Closed Package: Unknown/Other Function
PHP Version: 5.0.0RC3 OS: N/A
Private report: No CVE-ID:
 [2004-06-20 06:54 UTC] aidan@php.net
Description:
------------
http://lxr.php.net/source/php-src/ext/standard/basic_functions.c#1935

php_error_docref(NULL TSRMLS_CC, E_WARNING, "First argumented is expected to be a valid callback, '%s' was given", name);

Should be First argument, not First argumented.

--------

Also - I'm noticing a lot of dots where they shouldn't be in error messages - perhaps it's something you guys could be more pedantic about to ensure consistancy.

For example:
Warning: some error in some func some message. in some file.

Eg.
http://lxr.php.net/source/php-src/ext/standard/string.c#4724


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-06-20 11:39 UTC] helly@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.
 
PHP Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Thu Apr 17 16:02:22 2014 UTC