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: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: aidan@php.net
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 11:01:29 2024 UTC